1. Mike Frysinger
  2. gd

Commits

Pierre Joye  committed e1a8f0c

fix build, const is just as good here too

  • Participants
  • Parent commits 83c7d84
  • Branches master

Comments (0)

Files changed (1)

File src/gdhelpers.c

View file
 	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);