jani Fri Jul 20 23:53:41 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/lib timelib.c timelib.h Log: MFH: fix warnings http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timelib.c?r1=1.7.2.4.2.5&r2=1.7.2.4.2.6&diff_format=u Index: php-src/ext/date/lib/timelib.c diff -u php-src/ext/date/lib/timelib.c:1.7.2.4.2.5 php-src/ext/date/lib/timelib.c:1.7.2.4.2.6 --- php-src/ext/date/lib/timelib.c:1.7.2.4.2.5 Fri Jul 13 17:49:50 2007 +++ php-src/ext/date/lib/timelib.c Fri Jul 20 23:53:40 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: timelib.c,v 1.7.2.4.2.5 2007/07/13 17:49:50 derick Exp $ */ +/* $Id: timelib.c,v 1.7.2.4.2.6 2007/07/20 23:53:40 jani Exp $ */ #include "timelib.h" #include <ctype.h> @@ -30,7 +30,7 @@ #define TIMELIB_LLABS(y) (y < 0 ? (y * -1) : y) -timelib_time* timelib_time_ctor() +timelib_time* timelib_time_ctor(void) { timelib_time *t; t = calloc(1, sizeof(timelib_time)); @@ -55,7 +55,7 @@ TIMELIB_TIME_FREE(t); } -timelib_time_offset* timelib_time_offset_ctor() +timelib_time_offset* timelib_time_offset_ctor(void) { timelib_time_offset *t; t = calloc(1, sizeof(timelib_time_offset)); http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timelib.h?r1=1.10.2.11.2.2&r2=1.10.2.11.2.3&diff_format=u Index: php-src/ext/date/lib/timelib.h diff -u php-src/ext/date/lib/timelib.h:1.10.2.11.2.2 php-src/ext/date/lib/timelib.h:1.10.2.11.2.3 --- php-src/ext/date/lib/timelib.h:1.10.2.11.2.2 Mon Jan 1 09:35:59 2007 +++ php-src/ext/date/lib/timelib.h Fri Jul 20 23:53:40 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: timelib.h,v 1.10.2.11.2.2 2007/01/01 09:35:59 sebastian Exp $ */ +/* $Id: timelib.h,v 1.10.2.11.2.3 2007/07/20 23:53:40 jani Exp $ */ #ifndef __TIMELIB_H__ #define __TIMELIB_H__ @@ -79,17 +79,17 @@ const timelib_tzdb_index_entry *timelib_timezone_builtin_identifiers_list(int *count); /* From timelib.c */ -timelib_tzinfo* timelib_tzinfo_ctor(); +timelib_tzinfo* timelib_tzinfo_ctor(char *name); void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr); void timelib_time_tz_name_update(timelib_time* tm, char* tz_name); void timelib_tzinfo_dtor(timelib_tzinfo *tz); timelib_tzinfo* timelib_tzinfo_clone(timelib_tzinfo *tz); -timelib_time* timelib_time_ctor(); +timelib_time* timelib_time_ctor(void); void timelib_time_set_option(timelib_time* tm, int option, void* option_value); void timelib_time_dtor(timelib_time* t); -timelib_time_offset* timelib_time_offset_ctor(); +timelib_time_offset* timelib_time_offset_ctor(void); void timelib_time_offset_dtor(timelib_time_offset* t); void timelib_error_container_dtor(timelib_error_container *errors);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php