summaryrefslogtreecommitdiff
path: root/bench.c
diff options
context:
space:
mode:
authorroot <root>2010-06-01 01:15:34 +0000
committerroot <root>2010-06-01 01:15:34 +0000
commitc50584f36a2483901c13693846f8a0f3b74eb5c1 (patch)
tree94a8adcb0a8eefcaf53a2292970d856d2f671fc1 /bench.c
parent96bc01f1a8a19d92d24c56c590f0a2fda24ccb0b (diff)
*** empty log message ***
Diffstat (limited to 'bench.c')
-rw-r--r--bench.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bench.c b/bench.c
index b108503..2ef977b 100644
--- a/bench.c
+++ b/bench.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <unistd.h>
#include <assert.h>
#include <string.h>
#include <time.h>
@@ -41,8 +42,6 @@ static void sigu (int signum)
{
}
-int eventfd(unsigned int,int);
-
#define DSIZE 2821120
unsigned char data[DSIZE], data2[DSIZE*2], data3[DSIZE*2];
@@ -56,7 +55,6 @@ int main(void)
int lp;
char buf[8192];
int p[2];
- int evfd = eventfd (0, 0);
long ctr = 1;
struct stat sbuf;