]> granicus.if.org Git - php/commitdiff
MFH: fix warnings
authorJani Taskinen <jani@php.net>
Fri, 20 Jul 2007 23:53:40 +0000 (23:53 +0000)
committerJani Taskinen <jani@php.net>
Fri, 20 Jul 2007 23:53:40 +0000 (23:53 +0000)
ext/date/lib/timelib.c
ext/date/lib/timelib.h

index 6dd86e10347cd744f63ae75aad24731fed006df4..3c48f22157776ce5ccfb1d8f4a24fbafa51db552 100644 (file)
@@ -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 @@ void timelib_time_dtor(timelib_time* t)
        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));
index 5091ca21df24c5ec04699a60f2ed244946559665..23ba6e0a81afe421ca590046482b2786b968664b 100644 (file)
@@ -79,17 +79,17 @@ const timelib_tzdb *timelib_builtin_db(void);
 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);