Skip to content
Snippets Groups Projects
Commit 6ca0e6b9 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 5f543de2
No related branches found
No related tags found
No related merge requests found
......@@ -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)();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment