diff options
author | Derick Rethans <derick@php.net> | 2005-06-16 17:12:41 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2005-06-16 17:12:41 +0000 |
commit | 4ad939be1bd37c9993db8cfb2becff5fa9484e48 (patch) | |
tree | 7aa1a8d90907840901ab369f0c2217d394055479 | |
parent | 34e0ba1f9271d971aa9dfb4d9a13f7c56c59e0f2 (diff) | |
download | php-git-4ad939be1bd37c9993db8cfb2becff5fa9484e48.tar.gz |
- Rename "datetime.c" and "datetime.h" to "timelib.c" and "timelib.h" to
prevent duplicate header names.
-rw-r--r-- | ext/date/config.m4 | 2 | ||||
-rwxr-xr-x | ext/date/config.w32 | 2 | ||||
-rw-r--r-- | ext/date/lib/parse_date.c | 2 | ||||
-rw-r--r-- | ext/date/lib/parse_date.re | 2 | ||||
-rw-r--r-- | ext/date/lib/parse_tz.c | 2 | ||||
-rw-r--r-- | ext/date/lib/resource/parse_date.re | 2 | ||||
-rw-r--r-- | ext/date/lib/timelib.c (renamed from ext/date/lib/datetime.c) | 2 | ||||
-rw-r--r-- | ext/date/lib/timelib.h (renamed from ext/date/lib/datetime.h) | 2 | ||||
-rw-r--r-- | ext/date/lib/tm2unixtime.c | 2 | ||||
-rw-r--r-- | ext/date/lib/unixtime2tm.c | 2 | ||||
-rw-r--r-- | ext/date/php_date.c | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/ext/date/config.m4 b/ext/date/config.m4 index 6bccc5f323..8eb9e6fd92 100644 --- a/ext/date/config.m4 +++ b/ext/date/config.m4 @@ -1,5 +1,5 @@ dnl $Id$ dnl config.m4 for date extension -PHP_NEW_EXTENSION(date, php_date.c lib/datetime.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/tm2unixtime.c lib/unixtime2tm.c) +PHP_NEW_EXTENSION(date, php_date.c lib/timelib.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/tm2unixtime.c lib/unixtime2tm.c) PHP_ADD_BUILD_DIR([$ext_builddir/lib]) diff --git a/ext/date/config.w32 b/ext/date/config.w32 index 35fcb7aac6..d307bb73d8 100755 --- a/ext/date/config.w32 +++ b/ext/date/config.w32 @@ -2,5 +2,5 @@ // vim:ft=javascript EXTENSION("date", "php_date.c", false, "-Iext/date/lib"); -ADD_SOURCES("ext/date/lib", "datetime.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c", "date"); +ADD_SOURCES("ext/date/lib", "timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c", "date"); AC_DEFINE('HAVE_DATE', 1, 'Have date/time support'); diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index 25f5f6e1fd..da9da38d3a 100644 --- a/ext/date/lib/parse_date.c +++ b/ext/date/lib/parse_date.c @@ -23,7 +23,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include "datetime.h" +#include "timelib.h" #if defined(_MSC_VER) #define strcasecmp stricmp diff --git a/ext/date/lib/parse_date.re b/ext/date/lib/parse_date.re index 7e4b55a494..22c3b24d7d 100644 --- a/ext/date/lib/parse_date.re +++ b/ext/date/lib/parse_date.re @@ -21,7 +21,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include "datetime.h" +#include "timelib.h" #if defined(_MSC_VER) #define strcasecmp stricmp diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c index 0bfdd2622b..8792747836 100644 --- a/ext/date/lib/parse_tz.c +++ b/ext/date/lib/parse_tz.c @@ -26,7 +26,7 @@ #endif #include <string.h> -#include "datetime.h" +#include "timelib.h" #include "timezonedb.h" static void read_header(char **tzf, timelib_tzinfo *tz) diff --git a/ext/date/lib/resource/parse_date.re b/ext/date/lib/resource/parse_date.re index 7e4b55a494..22c3b24d7d 100644 --- a/ext/date/lib/resource/parse_date.re +++ b/ext/date/lib/resource/parse_date.re @@ -21,7 +21,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include "datetime.h" +#include "timelib.h" #if defined(_MSC_VER) #define strcasecmp stricmp diff --git a/ext/date/lib/datetime.c b/ext/date/lib/timelib.c index 905a94538a..f5fb5e0b16 100644 --- a/ext/date/lib/datetime.c +++ b/ext/date/lib/timelib.c @@ -19,7 +19,7 @@ /* $Id$ */ #include "timelib_structs.h" -#include "datetime.h" +#include "timelib.h" #include <ctype.h> #define TIMELIB_TIME_FREE(m) \ diff --git a/ext/date/lib/datetime.h b/ext/date/lib/timelib.h index dd8320bdbf..affc6f6ace 100644 --- a/ext/date/lib/datetime.h +++ b/ext/date/lib/timelib.h @@ -54,7 +54,7 @@ timelib_tzinfo *timelib_parse_tzfile(char *timezone); int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz); timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz); -/* From datetime.c */ +/* From timelib.c */ timelib_tzinfo* timelib_tzinfo_ctor(); void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr); void timelib_time_tz_name_update(timelib_time* tm, char* tz_name); diff --git a/ext/date/lib/tm2unixtime.c b/ext/date/lib/tm2unixtime.c index 9a56e8b3f2..12f621112e 100644 --- a/ext/date/lib/tm2unixtime.c +++ b/ext/date/lib/tm2unixtime.c @@ -18,7 +18,7 @@ /* $Id$ */ -#include "datetime.h" +#include "timelib.h" /* jan feb mrt apr may jun jul aug sep oct nov dec */ static int month_tab_leap[12] = { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 }; diff --git a/ext/date/lib/unixtime2tm.c b/ext/date/lib/unixtime2tm.c index 315b375a75..e8b8078a88 100644 --- a/ext/date/lib/unixtime2tm.c +++ b/ext/date/lib/unixtime2tm.c @@ -28,7 +28,7 @@ #define TIMELIB_LL_CONST(n) n ## ll #endif -#include "datetime.h" +#include "timelib.h" static int month_tab_leap[12] = { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 }; static int month_tab[12] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 }; diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 35e13c66e5..744342bb9d 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -26,7 +26,7 @@ #include "ext/standard/info.h" #include "php_date.h" #include "lib/timelib_structs.h" -#include "lib/datetime.h" +#include "lib/timelib.h" #include <time.h> function_entry date_functions[] = { |