aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/clockspeed
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-05-14 09:51:52 +0800
committerlioux <lioux@FreeBSD.org>2003-05-14 09:51:52 +0800
commitc959753bf718eecbee8135221f6941db658e97cd (patch)
tree4fc0abd690d7ade99dc43cd88b83542629a96e91 /sysutils/clockspeed
parent4740ebfc0ad6aaef72c85a77e60e36e0cde2a9f9 (diff)
downloadfreebsd-ports-graphics-c959753bf718eecbee8135221f6941db658e97cd.tar.gz
freebsd-ports-graphics-c959753bf718eecbee8135221f6941db658e97cd.tar.zst
freebsd-ports-graphics-c959753bf718eecbee8135221f6941db658e97cd.zip
Fix build on alpha: remove extraneous ')' parentheses in patch
Diffstat (limited to 'sysutils/clockspeed')
-rw-r--r--sysutils/clockspeed/files/patch-timing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/clockspeed/files/patch-timing.h b/sysutils/clockspeed/files/patch-timing.h
index dea14a77997..b5808799e33 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