Commits

Pierre Joye committed e1a8f0c

fix build, const is just as good here too

Comments (0)

Files changed (1)

 	return result;
 }
 
-inline void *
-gdCalloc (size_t nmemb, size_t size)
+const  void * gdCalloc (size_t nmemb, size_t size)
 {
 	return calloc (nmemb, size);
 }
 
-inline void *
+const  void *
 gdMalloc (size_t size)
 {
 	return malloc (size);
 }
 
-inline void *
+const  void *
 gdRealloc (void *ptr, size_t size)
 {
 	return realloc (ptr, size);
 }
 
-inline void *
+const  void *
 gdReallocEx (void *ptr, size_t size)
 {
 	void *newPtr = gdRealloc (ptr, size);