mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
![]() Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_HEADER_STDC`. This macro checks if given system has C89 compliant header files such as `<string.h>`, `<stdlib.h>`, `<stdarg.h>`, `<float.h>`,... and defines the `STDC_HEADERS` symbol [2]. Case is that current systems should be well supported with at least C89 standard headers [3]. Given headers are still additionally checked with the `AC_PROG_CC` macro, yet not needed anyway. Additionally, the HAVE_MEMCPY check has been removed. The memcpy function is standardized by C89 and later. Refs: [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html [3] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 |
||
---|---|---|
.. | ||
acinclude.m4 | ||
base64.c | ||
base64.h | ||
encodings.c | ||
encodings.h | ||
queue.c | ||
queue.h | ||
README | ||
simplestring.c | ||
simplestring.h | ||
system_methods.c | ||
system_methods_private.h | ||
xml_element.c | ||
xml_element.h | ||
xml_to_dandarpc.c | ||
xml_to_dandarpc.h | ||
xml_to_soap.c | ||
xml_to_soap.h | ||
xml_to_xmlrpc.c | ||
xml_to_xmlrpc.h | ||
xmlrpc.c | ||
xmlrpc.h | ||
xmlrpc.m4 | ||
xmlrpc_introspection.c | ||
xmlrpc_introspection.h | ||
xmlrpc_introspection_private.h | ||
xmlrpc_private.h |
organization of this directory is moving towards this approach: <module>.h -- public API and data types <module>_private.h -- protected API and data types <module>.c -- implementation and private API / types The rules are: .c files may include *_private.h. .h files may not include *_private.h This allows us to have a nicely encapsulated C api with opaque data types and private functions that are nonetheless shared between source files without redundant extern declarations..