aboutsummaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/sleep.c b/src/sleep.c
index 70c4337..9242475 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -11,20 +11,18 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with vmod-tbf. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <config.h>
+#include "tbf.h"
#include <errno.h>
#include <time.h>
-#include "vrt.h"
-#include "vcc_if.h"
-void
-vmod_sleep(struct sess *sp, double t)
+VCL_VOID
+vmod_sleep(MOD_CTX ctx, VCL_REAL t)
{
struct timespec ts, ret;
ts.tv_sec = t;
ts.tv_nsec = (t - ts.tv_sec) * 1e9;

Return to:

Send suggestions and report system problems to the System administrator.