1--- include/memcache/buffer.h.orig 2010-01-31 13:27:07.000000000 -0200 2+++ include/memcache/buffer.h 2010-01-31 13:27:21.000000000 -0200 3@@ -63,14 +63,14 @@ 4 struct memcache_buf *mcm_buf_find_replace2(struct memcache_ctxt *, struct memcache_buf *, 5 const char *, struct memcache_buf *); 6 int mcm_buf_free(struct memcache_ctxt *, struct memcache_buf **); 7-inline u_int32_t mcm_buf_len(const struct memcache_ctxt *, const struct memcache_buf *); 8+u_int32_t mcm_buf_len(const struct memcache_ctxt *, const struct memcache_buf *); 9 struct memcache_buf *mcm_buf_new(struct memcache_ctxt *); 10 struct memcache_buf *mcm_buf_new2(struct memcache_ctxt *, const char *, const u_int32_t); 11 struct memcache_buf *mcm_buf_new3(struct memcache_ctxt *, const char *); 12 size_t mcm_buf_read(struct memcache_ctxt *, struct memcache_buf *, int); 13 int mcm_buf_realloc(struct memcache_ctxt *, struct memcache_buf *, const u_int32_t); 14-inline size_t mcm_buf_remain(const struct memcache_ctxt *, const struct memcache_buf *); 15-inline size_t mcm_buf_remain_off(const struct memcache_ctxt *, const struct memcache_buf *); 16+size_t mcm_buf_remain(const struct memcache_ctxt *, const struct memcache_buf *); 17+size_t mcm_buf_remain_off(const struct memcache_ctxt *, const struct memcache_buf *); 18 int mcm_buf_replace(struct memcache_ctxt *, struct memcache_buf *, const char *, const u_int32_t); 19 int mcm_buf_replace2(struct memcache_ctxt *, struct memcache_buf *, const char *); 20 int mcm_buf_replace_buf(struct memcache_ctxt *, struct memcache_buf *, struct memcache_buf *); 21--- include/memcache.h.in.orig 2010-01-31 13:29:55.000000000 -0200 22+++ include/memcache.h.in 2010-01-31 13:30:04.000000000 -0200 23@@ -923,7 +923,7 @@ 24 mcMallocFunc *mallocAtomicFunc, mcReallocFunc *reallocFunc); 25 26 /* Returns a pointer to the global context. */ 27-inline struct memcache_ctxt *mc_global_ctxt(void); 28+struct memcache_ctxt *mc_global_ctxt(void); 29 30 /* The next two functions are used to setup an error handler. */ 31 int mcErrSetup(mcErrFunc errFunc); 32--- src/buffer.c.orig 2010-01-31 13:27:33.000000000 -0200 33+++ src/buffer.c 2010-01-31 13:27:43.000000000 -0200 34@@ -259,7 +259,7 @@ 35 } 36 37 38-inline u_int32_t 39+u_int32_t 40 mcm_buf_len(const struct memcache_ctxt *ctxt, const struct memcache_buf *s) { 41 return s->len; 42 } 43@@ -425,13 +425,13 @@ 44 } 45 46 47-inline size_t 48+size_t 49 mcm_buf_remain(const struct memcache_ctxt *ctxt, const struct memcache_buf *buf) { 50 return mcm_buf_size(ctxt, buf) - mcm_buf_len(ctxt, buf); 51 } 52 53 54-inline size_t 55+size_t 56 mcm_buf_remain_off(const struct memcache_ctxt *ctxt, const struct memcache_buf *buf) { 57 return mcm_buf_len(ctxt, buf) - buf->off; 58 } 59--- src/memcache.c.orig 2010-01-31 13:27:50.000000000 -0200 60+++ src/memcache.c 2010-01-31 13:29:28.000000000 -0200 61@@ -278,7 +278,7 @@ 62 } 63 64 65-inline struct memcache_ctxt * 66+struct memcache_ctxt * 67 mc_global_ctxt(void) { 68 return &mcGlobalCtxt; 69 } 70