Pierre Joye avatar Pierre Joye committed 84d2371

fix #70

Comments (0)

Files changed (2)

 	return result;
-const  void * gdCalloc (size_t nmemb, size_t size)
+void * gdCalloc (size_t nmemb, size_t size)
 	return calloc (nmemb, size);
-const  void *
+void *
 gdMalloc (size_t size)
 	return malloc (size);
-const  void *
+void *
 gdRealloc (void *ptr, size_t size)
 	return realloc (ptr, size);
-const  void *
+void *
 gdReallocEx (void *ptr, size_t size)
 	void *newPtr = gdRealloc (ptr, size);
 		in gd.h, where callers can utilize it to correctly
 		free memory allocated by these functions with the
 		right version of free(). */
-	const void *gdCalloc (size_t nmemb, size_t size);
-	const void *gdMalloc (size_t size);
-	const void *gdRealloc (void *ptr, size_t size);
+	void *gdCalloc (size_t nmemb, size_t size);
+	void *gdMalloc (size_t size);
+	void *gdRealloc (void *ptr, size_t size);
 	/* The extended version of gdReallocEx will free *ptr if the
 	 * realloc fails */
-	const void *gdReallocEx (void *ptr, size_t size);
+	void *gdReallocEx (void *ptr, size_t size);
 	/* Returns nonzero if multiplying the two quantities will
 		result in integer overflow. Also returns nonzero if
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.