summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-20 23:53:40 (GMT)
committerJani Taskinen <jani@php.net>2007-07-20 23:53:40 (GMT)
commitbffb8c406c6810c20e14e0ab75abd1ad446cae45 (patch)
tree8fc493d7d8bf09f0813612f3e3acaa2af1bb67a0 /ext/date/lib/timelib.c
parentd62163292f1ad477c404a591c44f75eccab9b6c2 (diff)
downloadphp-bffb8c406c6810c20e14e0ab75abd1ad446cae45.tar.gz
MFH: fix warnings
Diffstat (limited to 'ext/date/lib/timelib.c')
-rw-r--r--ext/date/lib/timelib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c
index 6dd86e1..3c48f22 100644
--- a/ext/date/lib/timelib.c
+++ b/ext/date/lib/timelib.c
@@ -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));