X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=example%2Finterface_v1.c;h=88cb59f636febeeba7ff04874bea9d477ac75ff4;hb=098b147ae544499cda8b3c7333173bb5f6e01b82;hp=f52abfa2c8dc0b5e3d5b23b9624c65da864bcaba;hpb=542f2c25afc26ad057ee90a771f8f4766f968a35;p=awesomized%2Flibmemcached diff --git a/example/interface_v1.c b/example/interface_v1.c index f52abfa2..88cb59f6 100644 --- a/example/interface_v1.c +++ b/example/interface_v1.c @@ -11,9 +11,6 @@ #include "config.h" #include #include -#include -#include -#include #include #include #include @@ -21,8 +18,8 @@ #include #include -#include -#include +#include +#include #include "storage.h" static protocol_binary_response_status add_handler(const void *cookie, @@ -65,7 +62,8 @@ static protocol_binary_response_status append_handler(const void *cookie, const void* val, uint32_t vallen, uint64_t cas, - uint64_t *result_cas) { + uint64_t *result_cas) +{ (void)cookie; protocol_binary_response_status rval= PROTOCOL_BINARY_RESPONSE_SUCCESS;