summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.c
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-17 04:39:01 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-09-18 05:44:56 +0200
commitb189c2432a4ba9bc111f2a4bb565ed9af09c8dc8 (patch)
tree4abfcf31eb6fd4d5f0a5d4b47cbe182c027f1e44 /TSRM/TSRM.c
parentd3ca28f5694e7848fb2b238bbe3e9564230ae65e (diff)
downloadphp-git-b189c2432a4ba9bc111f2a4bb565ed9af09c8dc8.tar.gz
Remove HAVE_STDARG_H
The C89 standard and later defines the `<stdarg.h>` header as part of the standard headers [1]. On current systems it is always present and can be included unconditionally. Checking for presence and functionality of the `<stdarg.h>` header and variadic function is not relevant anymore on current systems since this is always available. Also Autoconf suggests relying on at least C89 or above [2] and [3]. The following files were regenerated with re2c 1.0.3: - Zend/zend_language_scanner.c - Zend/zend_language_scanner_defs.h Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
Diffstat (limited to 'TSRM/TSRM.c')
-rw-r--r--TSRM/TSRM.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index 9451ed1731..74ef25b50c 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -15,10 +15,7 @@
#ifdef ZTS
#include <stdio.h>
-
-#if HAVE_STDARG_H
#include <stdarg.h>
-#endif
typedef struct _tsrm_tls_entry tsrm_tls_entry;