Source

gd-libgd / src / gdhelpers.h

Diff from to

src/gdhelpers.h

 		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