mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: fix warnings
This commit is contained in:
parent
d62163292f
commit
bffb8c406c
2 changed files with 5 additions and 5 deletions
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue