Commit efdec018 authored by J.H.M. Dassen's avatar J.H.M. Dassen Committed by Niels Möller
Browse files

Include unistd.h. Use prototype for main (jdassen@wi.leidenuniv.nl).

Rev: src/symmetric/desTest.c:1.4
parent e4e897aa
...@@ -18,7 +18,8 @@ char desTest_cRcs[] = "$Id$"; ...@@ -18,7 +18,8 @@ char desTest_cRcs[] = "$Id$";
#ifndef __NT__ #ifndef __NT__
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
extern getrusage(); #include <unistd.h>
/* extern getrusage(); */
static struct rusage usage; static struct rusage usage;
#define now(w) ( \ #define now(w) ( \
(void)getrusage(RUSAGE_SELF, &usage), \ (void)getrusage(RUSAGE_SELF, &usage), \
...@@ -109,7 +110,7 @@ UINT8 *src, *dst, *check; ...@@ -109,7 +110,7 @@ UINT8 *src, *dst, *check;
/* run the tests */ /* run the tests */
int int
main() main(int argc, char **argv)
{ {
int j, m, e, n; int j, m, e, n;
void (*f)(); void (*f)();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment