summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib.c
diff options
context:
space:
mode:
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 6dd86e1034..3c48f22157 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));