diff mcabber/libjabber/pool.c @ 1558:3df441efb7c2

Fix gcc warnings related to inline/static uses
author Mikael Berthe <mikael@lilotux.net>
date Fri, 10 Oct 2008 20:29:15 +0200
parents c3ae9251c197
children
line wrap: on
line diff
--- a/mcabber/libjabber/pool.c	Fri Oct 10 19:31:41 2008 +0200
+++ b/mcabber/libjabber/pool.c	Fri Oct 10 20:29:15 2008 +0200
@@ -61,6 +61,8 @@
 int pool__ltotal = 0;
 xht pool__disturbed = NULL;
 
+inline void *_retried__malloc(size_t size);
+
 /**
  * create a new memory allocation and increment the pool__total counter
  *
@@ -101,7 +103,7 @@
  * @param size how many bytes of memory we allocate
  * @return pointer to the allocated memory
  */
-inline void *_retried__malloc(size_t size) {
+void *_retried__malloc(size_t size) {
     void *allocated_memory;
     int malloc_tries = 0;