diff options
author | lioux <lioux@FreeBSD.org> | 2003-05-14 09:51:52 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-05-14 09:51:52 +0800 |
commit | c959753bf718eecbee8135221f6941db658e97cd (patch) | |
tree | 4fc0abd690d7ade99dc43cd88b83542629a96e91 /sysutils/clockspeed | |
parent | 4740ebfc0ad6aaef72c85a77e60e36e0cde2a9f9 (diff) | |
download | freebsd-ports-gnome-c959753bf718eecbee8135221f6941db658e97cd.tar.gz freebsd-ports-gnome-c959753bf718eecbee8135221f6941db658e97cd.tar.zst freebsd-ports-gnome-c959753bf718eecbee8135221f6941db658e97cd.zip |
Fix build on alpha: remove extraneous ')' parentheses in patch
Diffstat (limited to 'sysutils/clockspeed')
-rw-r--r-- | sysutils/clockspeed/files/patch-timing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/clockspeed/files/patch-timing.h b/sysutils/clockspeed/files/patch-timing.h index dea14a779970..b5808799e33a 100644 --- a/sysutils/clockspeed/files/patch-timing.h +++ b/sysutils/clockspeed/files/patch-timing.h @@ -17,7 +17,7 @@ +typedef struct { struct timespec t; } timing; +#define timing_now(x) ((void) clock_gettime(CLOCK_REALTIME, &((x)->t))) +/* in seconds */ -+#define timing_diff(x,y) (((x)->t.tv_sec - (double) (y)->t.tv_sec) + (4294967296.0*((x)->t.tv_nsec - (double) (y)->t.tv_nsec)))/1e9) ++#define timing_diff(x,y) (((x)->t.tv_sec - (double) (y)->t.tv_sec) + (4294967296.0*((x)->t.tv_nsec - (double) (y)->t.tv_nsec))/1e9) + +#else |