]> granicus.if.org Git - php/commitdiff
Remove redundant memory.h file
authorPeter Kokot <peterkokot@gmail.com>
Sat, 11 May 2019 00:31:01 +0000 (02:31 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sat, 11 May 2019 17:47:54 +0000 (19:47 +0200)
The memory.h file is part of the pre-C89 era and is on today's systems
only a simple wrapper for including the final string.h header file.

ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
win32/sendmail.c

index da563cc7d6d8c060fe447d950cd72f956ef9c85d..42130e8b2c11226e6c2399cafeb1d5daed153740 100644 (file)
 #endif
 
 #include <stdlib.h>
-
-#ifdef HAVE_MEMORY_H
-#include <memory.h>
-#endif
-
 #include <string.h>
 #include <stddef.h>
 
index 6a685ee477f73ad1f6818b0ab2f65e1e244063ca..00063931eaf732eb590ce64033a7d24839382764 100644 (file)
@@ -26,7 +26,6 @@
 #include <string.h>
 #include <math.h>
 #include <malloc.h>
-#include <memory.h>
 #include <winbase.h>
 #include "sendmail.h"
 #include "php_ini.h"