From 7f9683f880dcfbdda70dcc4cd1d05118856500c6 Mon Sep 17 00:00:00 2001 From: Date: Sat, 19 Jan 2008 20:49:18 -0500 Subject: [PATCH] Removed major, minor, micro from memcached.h --- include/memcached.h | 4 ---- tests/function.c | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) 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; } -- 2.30.2