X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=example%2Fstorage.h;h=bd1b878097d9ebcdf0a32f91912cb3962c8ce87c;hb=92d18858b417309f6bdee6bce464a4f3d6a375fd;hp=12955846a62d0c8ab09c133d87a01cd2a1aacac0;hpb=9141e90dccb732d6e7ef10ea248ce2fd7d1ef46b;p=awesomized%2Flibmemcached diff --git a/example/storage.h b/example/storage.h index 12955846..bd1b8780 100644 --- a/example/storage.h +++ b/example/storage.h @@ -1,6 +1,5 @@ /* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ -#ifndef STORAGE_H -#define STORAGE_H +#pragma once struct item { uint64_t cas; @@ -23,5 +22,3 @@ struct item* create_item(const void* key, size_t nkey, const void *data, bool delete_item(const void* key, size_t nkey); void flush(uint32_t when); void release_item(struct item* item); - -#endif