From 678faae279aae61de48d969d54f08947e2e64449 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Tue, 3 Oct 2006 04:01:30 +0000 Subject: [PATCH] Solaris compatibility only: Be specific about the fact that the inline function takes no arguments. --- sys/sys/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/time.h b/sys/sys/time.h index 359e472d9920..0350c203eeb9 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -339,7 +339,7 @@ __END_DECLS typedef longlong_t hrtime_t; #ifndef _KERNEL -static __inline hrtime_t gethrtime() { +static __inline hrtime_t gethrtime(void) { struct timespec ts; clock_gettime(CLOCK_UPTIME,&ts); return (((u_int64_t) ts.tv_sec) * NANOSEC + ts.tv_nsec);