diff options
Diffstat (limited to 'test/benchmark-tcp-write-batch.c')
-rw-r--r-- | test/benchmark-tcp-write-batch.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/benchmark-tcp-write-batch.c b/test/benchmark-tcp-write-batch.c index 77bb0191..0b15f44b 100644 --- a/test/benchmark-tcp-write-batch.c +++ b/test/benchmark-tcp-write-batch.c @@ -23,15 +23,11 @@ #include "task.h" #include <stdio.h> -#include <stddef.h> #include <stdlib.h> #define WRITE_REQ_DATA "Hello, world." #define NUM_WRITE_REQS (1000 * 1000) -#define container_of(ptr, type, member) \ - ((type *) ((char *) (ptr) - offsetof(type, member))) - typedef struct { uv_write_t req; uv_buf_t buf; |