Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > d652300a2a15be058f37bc9157e72c20 > files > 2

libmemcache-1.4.0-0.rc2.7.mga1.src.rpm

Index: include/memcache/buffer.h
===================================================================
--- include/memcache/buffer.h.orig	2006-02-21 08:58:57.000000000 +0100
+++ include/memcache/buffer.h	2008-05-16 16:40:40.808416442 +0200
@@ -63,14 +63,14 @@ struct memcache_buf	*mcm_buf_find_replac
 struct memcache_buf	*mcm_buf_find_replace2(struct memcache_ctxt *, struct memcache_buf *,
 						    const char *, struct memcache_buf *);
 int	 mcm_buf_free(struct memcache_ctxt *, struct memcache_buf **);
-inline u_int32_t	 mcm_buf_len(const struct memcache_ctxt *, const struct memcache_buf *);
+u_int32_t	 mcm_buf_len(const struct memcache_ctxt *, const struct memcache_buf *);
 struct memcache_buf	*mcm_buf_new(struct memcache_ctxt *);
 struct memcache_buf	*mcm_buf_new2(struct memcache_ctxt *, const char *, const u_int32_t);
 struct memcache_buf	*mcm_buf_new3(struct memcache_ctxt *, const char *);
 size_t	 mcm_buf_read(struct memcache_ctxt *, struct memcache_buf *, int);
 int	 mcm_buf_realloc(struct memcache_ctxt *, struct memcache_buf *, const u_int32_t);
-inline size_t	 mcm_buf_remain(const struct memcache_ctxt *, const struct memcache_buf *);
-inline size_t	 mcm_buf_remain_off(const struct memcache_ctxt *, const struct memcache_buf *);
+size_t	 mcm_buf_remain(const struct memcache_ctxt *, const struct memcache_buf *);
+size_t	 mcm_buf_remain_off(const struct memcache_ctxt *, const struct memcache_buf *);
 int	 mcm_buf_replace(struct memcache_ctxt *, struct memcache_buf *, const char *, const u_int32_t);
 int	 mcm_buf_replace2(struct memcache_ctxt *, struct memcache_buf *, const char *);
 int	 mcm_buf_replace_buf(struct memcache_ctxt *, struct memcache_buf *, struct memcache_buf *);
Index: src/buffer.c
===================================================================
--- src/buffer.c.orig	2006-02-21 08:58:59.000000000 +0100
+++ src/buffer.c	2008-05-16 16:40:40.808416442 +0200
@@ -259,7 +259,7 @@ mcm_buf_free(struct memcache_ctxt *ctxt,
 }
 
 
-inline u_int32_t
+u_int32_t
 mcm_buf_len(const struct memcache_ctxt *ctxt, const struct memcache_buf *s) {
   return s->len;
 }
@@ -425,13 +425,13 @@ mcm_buf_realloc(struct memcache_ctxt *ct
 }
 
 
-inline size_t
+size_t
 mcm_buf_remain(const struct memcache_ctxt *ctxt, const struct memcache_buf *buf) {
   return mcm_buf_size(ctxt, buf) - mcm_buf_len(ctxt, buf);
 }
 
 
-inline size_t
+size_t
 mcm_buf_remain_off(const struct memcache_ctxt *ctxt, const struct memcache_buf *buf) {
   return mcm_buf_len(ctxt, buf) - buf->off;
 }
Index: src/memcache.c
===================================================================
--- src/memcache.c.orig	2008-05-16 16:40:37.716227672 +0200
+++ src/memcache.c	2008-05-16 16:40:40.812416686 +0200
@@ -271,7 +271,7 @@ mc_get(struct memcache *mc, struct memca
 }
 
 
-inline struct memcache_ctxt *
+struct memcache_ctxt *
 mc_global_ctxt(void) {
   return &mcGlobalCtxt;
 }
Index: include/memcache.h.in
===================================================================
--- include/memcache.h.in.orig	2006-02-21 08:58:58.000000000 +0100
+++ include/memcache.h.in	2008-05-16 16:40:40.844418640 +0200
@@ -923,7 +923,7 @@ int	mcMemGet(mcFreeFunc *freeFunc, mcMal
 		 mcMallocFunc *mallocAtomicFunc, mcReallocFunc *reallocFunc);
 
 /* Returns a pointer to the global context. */
-inline struct memcache_ctxt *mc_global_ctxt(void);
+struct memcache_ctxt *mc_global_ctxt(void);
 
 /* The next two functions are used to setup an error handler. */
 int	mcErrSetup(mcErrFunc errFunc);