X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fmemstat.c;h=c8769d52059e0a601723b00770ca6f936a9780a8;hb=7f9bc55d79a4e7133fdeaaa1150451717c103b28;hp=847e7f0d0ee8eeb8763ca07158a34705ff67e57e;hpb=498004747168d79b55b2bc2b61033cea3f72bc88;p=awesomized%2Flibmemcached diff --git a/clients/memstat.c b/clients/memstat.c index 847e7f0d..c8769d52 100644 --- a/clients/memstat.c +++ b/clients/memstat.c @@ -1,3 +1,17 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + * Authors: + * Brian Aker + * Toru Maesaka + */ + #include "libmemcached/common.h" #include #include @@ -47,7 +61,7 @@ static struct option long_options[]= int main(int argc, char *argv[]) { - memcached_return rc; + memcached_return_t rc; memcached_st *memc; memcached_stat_st *memc_stat; memcached_server_st *servers; @@ -102,7 +116,7 @@ int main(int argc, char *argv[]) static void run_analyzer(memcached_st *memc, memcached_stat_st *memc_stat, memcached_server_st *server_list) { - memcached_return rc; + memcached_return_t rc; if (analyze_mode == NULL) { @@ -219,7 +233,7 @@ static void print_server_listing(memcached_st *memc, memcached_stat_st *memc_sta memcached_server_st *server_list) { unsigned int x; - memcached_return rc; + memcached_return_t rc; printf("Listing %u Server\n\n", memcached_server_count(memc)); for (x= 0; x < memcached_server_count(memc); x++)