Commit 6ca0e6b9 authored by J.H.M. Dassen's avatar J.H.M. Dassen Committed by Niels Möller

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

Rev: src/symmetric/desTest.c:1.4
parent 5f543de2
......@@ -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)();
......
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