From: Date: Sun, 20 Jan 2008 01:49:18 +0000 (-0500) Subject: Removed major, minor, micro from memcached.h X-Git-Tag: 0.14~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7f9683f880dcfbdda70dcc4cd1d05118856500c6;p=awesomized%2Flibmemcached Removed major, minor, micro from memcached.h --- diff --git a/include/memcached.h b/include/memcached.h index 9a1ca327..ac2e365f 100644 --- a/include/memcached.h +++ b/include/memcached.h @@ -33,10 +33,6 @@ extern "C" { /* string value */ #define LIBMEMCACHED_VERSION_STRING "0.14" -/* binary values */ -#define MEMCACHED_MAJOR_VERSION 0 -#define MEMCACHED_MAJOR_VERSION 14 -#define MEMCACHED_MICRO_VERSION 0 typedef enum { MEMCACHED_SUCCESS, diff --git a/tests/function.c b/tests/function.c index 14939215..51b4c74a 100644 --- a/tests/function.c +++ b/tests/function.c @@ -889,11 +889,11 @@ uint8_t get_stats_keys(memcached_st *memc) return 0; } -uint8_t version_string_test +uint8_t version_string_test(void) { const char *version_string; version_string= memcached_lib_version(); - assert(!strcmp(version_string, LIBMEMCACHE_VERSION_STRING)); + assert(!strcmp(version_string, LIBMEMCACHED_VERSION_STRING)); return 0; }