com php-src: Remove redundant memory.h file: ext/mbstring/libmb fl/mbfl/mbfl_allocators.c win32/sendmail.c
| From: | Peter Kokot | Date: | Sat, 11 May 2019 17:47:54 +0000 |
| Subject: | com php-src: Remove redundant memory.h file: ext/mbstring/libmb fl/mbfl/mbfl_allocators.c win32/sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106128@lists.php.net to get a copy of this message | ||
Commit: 9219e56063433c752397b09407c809e04ff2cc7c
Author: Peter Kokot <peterkokot@gmail.com> Sat, 11 May 2019 02:31:01 +0200
Parents: 3a4df957937575eb4c8d0ae30f0126c4ed30055c
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9219e56063433c752397b09407c809e04ff2cc7c
Log:
Remove redundant memory.h file
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.
Changed paths:
M ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
M win32/sendmail.c
Diff:
diff --git a/ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
b/ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
index da563cc..42130e8 100644
--- a/ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
+++ b/ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
@@ -33,11 +33,6 @@
#endif
#include <stdlib.h>
-
-#ifdef HAVE_MEMORY_H
-#include <memory.h>
-#endif
-
#include <string.h>
#include <stddef.h>
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 6a685ee..0006393 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -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"