From: Date: Tue, 29 Apr 2008 23:42:18 +0000 (-0700) Subject: Fix on definition for memcached_execute_fetch(). X-Git-Tag: 0.20~1^2~2^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=fe8ad508b0fec5ca6860b3fa5d10727250e3b1d4;p=awesomized%2Flibmemcached Fix on definition for memcached_execute_fetch(). --- diff --git a/libmemcached/memcached.h b/libmemcached/memcached.h index 935a4a13..3a1def48 100644 --- a/libmemcached/memcached.h +++ b/libmemcached/memcached.h @@ -183,10 +183,9 @@ memcached_return memcached_delete_by_key(memcached_st *ptr, time_t expiration); memcached_return memcached_fetch_execute(memcached_st *ptr, - unsigned int (*callback[])(memcached_st *ptr, memcached_result_st *result, void *context), + memcached_execute_function *callback, void *context, - unsigned int number_of_callbacks - ); + unsigned int number_of_callbacks); memcached_return memcached_callback_set(memcached_st *ptr, memcached_callback flag, diff --git a/libmemcached/memcached_fetch_execute.c b/libmemcached/memcached_fetch_execute.c index 29d76244..5058fdec 100644 --- a/libmemcached/memcached_fetch_execute.c +++ b/libmemcached/memcached_fetch_execute.c @@ -3,8 +3,7 @@ memcached_return memcached_fetch_execute(memcached_st *ptr, memcached_execute_function *callback, void *context, - unsigned int number_of_callbacks - ) + unsigned int number_of_callbacks) { memcached_result_st *result= &ptr->result;