From 77688f0ea4e99869438e0e639d19881aee14d5dd Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 2 Apr 2010 10:51:10 -0700 Subject: [PATCH] Fixes build on FreeBSD. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/behavior.c b/libmemcached/behavior.c index 886457a5..0085e4f3 100644 --- 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; } -- 2.30.2