X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ftest.c;h=348df72bd9beb00464c444884de10e56306b2dfd;hb=5978e22206f36565d27a4d513962832f92955652;hp=dd64be6933ef287c7bd1c03024791dd7eb903198;hpb=475f477dab6dfc5e4f018d1ecfb128c37e2c44a0;p=awesomized%2Flibmemcached diff --git a/tests/test.c b/tests/test.c index dd64be69..348df72b 100644 --- a/tests/test.c +++ b/tests/test.c @@ -9,19 +9,23 @@ /* Sample test application. */ + +#include "config.h" + +#include + #include #include #include #include #include #include -#include #include #include -#include #include #include "libmemcached/memcached.h" + #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); } -static long int timedif(struct timeval a, struct timeval b) +long int timedif(struct timeval a, struct timeval b) { long us, s;