ref: 435bf4b11a48a1f33dc42a4f7a0a1d216f527301
parent: ca6424121b6db33b7ce6e6d8671f9fa32b22e4cc
author: Fabian Greffrath <fabian@greffrath.com>
date: Wed Aug 23 05:00:37 EDT 2017
Remove duplicate I_Realloc() definition It somehow got there by cherry-picking the changes from the i_realloc branch into the master branch and then merging the master branch into the sdl2-branch. Sorry for the confusion.
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -342,24 +342,6 @@
}
//
-// I_Realloc
-//
-
-void *I_Realloc(void *ptr, size_t size)
-{
- void *new_ptr;
-
- new_ptr = realloc(ptr, size);
-
- if (size != 0 && new_ptr == NULL)
- {
- I_Error ("I_Realloc: failed on reallocation of %i bytes", size);
- }
-
- return new_ptr;
-}
-
-//
// Read Access Violation emulation.
//
// From PrBoom+, by entryway.