]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Include unistd.h. Use prototype for main (jdassen@wi.leidenuniv.nl).
authorJ.H.M. Dassen <jdassen@wi.leidenuniv.nl>
Mon, 14 Dec 1998 23:20:46 +0000 (00:20 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 14 Dec 1998 23:20:46 +0000 (00:20 +0100)
Rev: src/symmetric/desTest.c:1.4

desTest.c

index cdff0c5954c9d6ecd114e93ba29899ed0d433e67..a4bd7ed44f3426ff276267862ec0e89c66d9210a 100644 (file)
--- a/desTest.c
+++ b/desTest.c
@@ -18,7 +18,8 @@ char desTest_cRcs[] = "$Id$";
 #ifndef __NT__
 #include       <sys/time.h>
 #include       <sys/resource.h>
-extern getrusage();
+#include       <unistd.h>
+/* extern getrusage(); */
 static struct rusage usage;
 #define        now(w)  (                                               \
                (void)getrusage(RUSAGE_SELF, &usage),           \
@@ -109,7 +110,7 @@ UINT8 *src, *dst, *check;
 /* run the tests */
 
 int
-main()
+main(int argc, char **argv)
 {
        int j, m, e, n;
        void (*f)();