projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Add purge before get.
[awesomized/libmemcached]
/
tests
/
test.c
diff --git
a/tests/test.c
b/tests/test.c
index dd64be6933ef287c7bd1c03024791dd7eb903198..348df72bd9beb00464c444884de10e56306b2dfd 100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-9,19
+9,23
@@
/*
Sample test application.
*/
/*
Sample test application.
*/
+
+#include "config.h"
+
+#include <unistd.h>
+
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/wait.h>
#include <unistd.h>
#include <time.h>
#include <unistd.h>
#include <time.h>
-#include <fnmatch.h>
#include <stdint.h>
#include "libmemcached/memcached.h"
#include <stdint.h>
#include "libmemcached/memcached.h"
+
#include "test.h"
static void world_stats_print(world_stats_st *stats)
#include "test.h"
static void world_stats_print(world_stats_st *stats)
@@
-38,7
+42,7
@@
static void world_stats_print(world_stats_st *stats)
fprintf(stderr, "\tSucceeded\t\t%u\n", stats->success);
}
fprintf(stderr, "\tSucceeded\t\t%u\n", stats->success);
}
-
static
long int timedif(struct timeval a, struct timeval b)
+long int timedif(struct timeval a, struct timeval b)
{
long us, s;
{
long us, s;