From d559bed0d59c3666718b847a11a7ba42dd4de54e Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 28 Jul 2012 14:10:10 +0200 Subject: [PATCH] node: use variadic functions in ev-emul.h Fixes #3786. --- src/ev-emul.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ev-emul.h b/src/ev-emul.h index 3d0c77e916..3ec8613978 100644 --- a/src/ev-emul.h +++ b/src/ev-emul.h @@ -230,12 +230,12 @@ inline static void __ev_unref(void) { } -inline static double __ev_now(/* variadic */) { +inline static double __ev_now(...) { return uv_hrtime() / 1e9; } -inline static void __ev_set_priority(/* variadic */) { +inline static void __ev_set_priority(...) { }