From: J.H.M. Dassen Date: Mon, 14 Dec 1998 23:20:46 +0000 (+0100) Subject: Include unistd.h. Use prototype for main (jdassen@wi.leidenuniv.nl). X-Git-Tag: des_and_blowfish_compiles_19981216~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ca0e6b9db2901f87ba6b534d56e5e31a6d33644;p=thirdparty%2Fnettle.git Include unistd.h. Use prototype for main (jdassen@wi.leidenuniv.nl). Rev: src/symmetric/desTest.c:1.4 --- diff --git a/desTest.c b/desTest.c index cdff0c59..a4bd7ed4 100644 --- a/desTest.c +++ b/desTest.c @@ -18,7 +18,8 @@ char desTest_cRcs[] = "$Id$"; #ifndef __NT__ #include #include -extern getrusage(); +#include +/* 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)();