Solaris compatibility only: Be specific about the fact that

the inline function takes no arguments.
This commit is contained in:
John Birrell 2006-10-03 04:01:30 +00:00
parent 9c63c3f400
commit 678faae279

View File

@ -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);