diff options
author | steve <steve@FreeBSD.org> | 2000-01-29 01:28:02 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-29 01:28:02 +0800 |
commit | 3609534ea17d1b2ea3058988368734aba7ab7c3b (patch) | |
tree | cc3b54f3b52912fb67f8509230dc7e4e48e25fbf /benchmarks | |
parent | 36e49158ca84842398113769eaad686c6e7099c6 (diff) | |
download | freebsd-ports-gnome-3609534ea17d1b2ea3058988368734aba7ab7c3b.tar.gz freebsd-ports-gnome-3609534ea17d1b2ea3058988368734aba7ab7c3b.tar.zst freebsd-ports-gnome-3609534ea17d1b2ea3058988368734aba7ab7c3b.zip |
time(3) returns a time_t and not a long.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/bytebench/files/patch-af | 11 | ||||
-rw-r--r-- | benchmarks/unixbench/files/patch-af | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/bytebench/files/patch-af b/benchmarks/bytebench/files/patch-af new file mode 100644 index 000000000000..bf25a7610d17 --- /dev/null +++ b/benchmarks/bytebench/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 */ diff --git a/benchmarks/unixbench/files/patch-af b/benchmarks/unixbench/files/patch-af new file mode 100644 index 000000000000..bf25a7610d17 --- /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 */ |