diff options
Diffstat (limited to 'src/time.c')
-rw-r--r-- | src/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* This file is part of vmod-tbf - Copyright (C) 2013-2014 Sergey Poznyakoff + Copyright (C) 2013-2017 Sergey Poznyakoff Vmod-tbf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,13 +18,13 @@ #include <time.h> VCL_INT -vmod_systime(MOD_CTX ctx) +vmod_systime(VRT_CTX) { return time(NULL); } VCL_STRING -vmod_strftime(MOD_CTX ctx, VCL_STRING format, VCL_INT timestamp) +vmod_strftime(VRT_CTX, VCL_STRING format, VCL_INT timestamp) { time_t ts = (time_t) timestamp; size_t u, n; |