1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 11:02:55 +02:00
Files
archived-php-src/ext/xmlrpc/libxmlrpc
Peter Kokot f86d3de87f Remove AC_HEADER_TIME
Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems anymore, including the `AC_HEADER_TIME`.

This macro checks if both `<sys/time.h>` and `<time.h>` can be included
at the same time and defines the `TIME_WITH_SYS_TIME` and
`HAVE_SYS_TIME_H` symbols. On current system such check is not relevant
anymore because in case both headers are present both can be also
included at the same time.

This patch simplifies this checking.

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
2018-09-02 19:24:55 +02:00
..
2018-09-02 19:24:55 +02:00
2018-03-27 22:04:26 +02:00
2018-06-13 16:10:08 +02:00
2015-01-10 15:07:38 -08:00
2016-10-20 11:42:23 +02:00
2015-01-10 15:07:38 -08:00
2016-11-05 13:59:56 -07:00
2015-01-10 15:07:38 -08:00
2016-10-20 11:42:23 +02:00
2015-01-10 15:07:38 -08:00
2016-10-20 11:42:23 +02:00
2015-01-10 15:07:38 -08:00
2016-10-20 11:42:23 +02:00
2015-01-10 15:07:38 -08:00
2016-10-20 11:42:23 +02:00
2015-01-10 15:07:38 -08:00
2016-10-20 11:42:23 +02:00

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..