projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
5173b8b
)
Fixes build on FreeBSD.
author
Monty Taylor
<mordred@inaugust.com>
Fri, 2 Apr 2010 17:51:10 +0000
(10:51 -0700)
committer
Monty Taylor
<mordred@inaugust.com>
Fri, 2 Apr 2010 17:51:10 +0000
(10:51 -0700)
Non-static inline functions are not supported in C99. (which is what the error message should say)
BUT - this function isn't in a header file, so being marked inline here is pointless (guessing copy-n-paste error)
libmemcached/behavior.c
patch
|
blob
|
history
diff --git
a/libmemcached/behavior.c
b/libmemcached/behavior.c
index 886457a59a7867fcf31e18825aa7d8a037f2a020..0085e4f3a23fc83179e20ecb180830b364248b58 100644
(file)
--- a/
libmemcached/behavior.c
+++ b/
libmemcached/behavior.c
@@
-230,7
+230,7
@@
memcached_return_t memcached_behavior_set(memcached_st *ptr,
return MEMCACHED_SUCCESS;
}
-
inline
bool _is_auto_eject_host(const memcached_st *ptr)
+bool _is_auto_eject_host(const memcached_st *ptr)
{
return ptr->flags.auto_eject_hosts;
}