summaryrefslogtreecommitdiff
path: root/benchmarks/unixbench/files/patch-src:dhry_1.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2005-01-08 22:10:44 +0000
committerStefan Eßer <se@FreeBSD.org>2005-01-08 22:10:44 +0000
commit9a369a50d0657fe3491a4a2fe7261c6e12fbda3c (patch)
treec2b1bd17c207d9ee68a3ca714bc1d287a0f030c9 /benchmarks/unixbench/files/patch-src:dhry_1.c
parent- Add options to build with curl (off by default) (diff)
Update bytebench-3.1 to unixbench-4.1.0, based on patches submitted
by SHIMAOKA Shunsuke, with some modifications to the Makefile by me. The bytebench port was repo-copied to unixbench, before, to preserve its history. Submitted by: SHIMAOKA Shunsuke (shimaoka at st dot tutrp dot tut dot ac dot jp)
Notes
Notes: svn path=/head/; revision=125888
Diffstat (limited to 'benchmarks/unixbench/files/patch-src:dhry_1.c')
-rw-r--r--benchmarks/unixbench/files/patch-src:dhry_1.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-src:dhry_1.c b/benchmarks/unixbench/files/patch-src:dhry_1.c
new file mode 100644
index 000000000000..142f7a03240a
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-src:dhry_1.c
@@ -0,0 +1,19 @@
+--- src/dhry_1.c.orig Sun Dec 19 01:45:10 2004
++++ src/dhry_1.c Sun Dec 19 01:45:59 2004
+@@ -34,6 +34,7 @@
+ ***************************************************************************/
+ char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -81,7 +82,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 */