Solaris compatibility only: Be specific about the fact that
the inline function takes no arguments.
This commit is contained in:
parent
9c63c3f400
commit
678faae279
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user