projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Use bool instead of bool:1 if your compiler doesn't create correct code
[awesomized/libmemcached]
/
libmemcached
/
stats.h
diff --git
a/libmemcached/stats.h
b/libmemcached/stats.h
index c7d554b2eafc69c958d003498dad9656d619b655..245f0711015f4f0f338927dddee2d6187745ebdb 100644
(file)
--- a/
libmemcached/stats.h
+++ b/
libmemcached/stats.h
@@
-9,12
+9,8
@@
*
*/
*
*/
-#ifndef __MEMCACHED_STATS_H__
-#define __MEMCACHED_STATS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
+#ifndef __LIBMEMCACHED_STATS_H__
+#define __LIBMEMCACHED_STATS_H__
struct memcached_stat_st {
uint32_t connection_structures;
struct memcached_stat_st {
uint32_t connection_structures;
@@
-44,6
+40,10
@@
struct memcached_stat_st {
memcached_st *root;
};
memcached_st *root;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
LIBMEMCACHED_API
void memcached_stat_free(memcached_st *, memcached_stat_st *);
LIBMEMCACHED_API
void memcached_stat_free(memcached_st *, memcached_stat_st *);
@@
-63,7
+63,7
@@
char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *memc_stat,
memcached_return_t *error);
#ifdef __cplusplus
memcached_return_t *error);
#ifdef __cplusplus
-}
+}
// extern "C"
#endif
#endif
-#endif /* __MEMCACHED_STATS_H__ */
+#endif /* __
LIB
MEMCACHED_STATS_H__ */