aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/unixbench
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-29 01:28:02 +0800
committersteve <steve@FreeBSD.org>2000-01-29 01:28:02 +0800
commit3609534ea17d1b2ea3058988368734aba7ab7c3b (patch)
treecc3b54f3b52912fb67f8509230dc7e4e48e25fbf /benchmarks/unixbench
parent36e49158ca84842398113769eaad686c6e7099c6 (diff)
downloadfreebsd-ports-graphics-3609534ea17d1b2ea3058988368734aba7ab7c3b.tar.gz
freebsd-ports-graphics-3609534ea17d1b2ea3058988368734aba7ab7c3b.tar.zst
freebsd-ports-graphics-3609534ea17d1b2ea3058988368734aba7ab7c3b.zip
time(3) returns a time_t and not a long.
Diffstat (limited to 'benchmarks/unixbench')
-rw-r--r--benchmarks/unixbench/files/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-af b/benchmarks/unixbench/files/patch-af
new file mode 100644
index 00000000000..bf25a7610d1
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-af
@@ -0,0 +1,11 @@
+--- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000
++++ src/dhry_1.c Thu Jan 27 21:24:08 2000
+@@ -78,7 +78,7 @@
+ /* Measurements should last at least about 2 seconds */
+ #endif
+ #ifdef TIME
+-extern long time();
++extern time_t time();
+ /* see library function "time" */
+ #define Too_Small_Time 2
+ /* Measurements should last at least 2 seconds */