diff options
author | steve <steve@FreeBSD.org> | 2000-01-28 17:28:02 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-28 17:28:02 +0000 |
commit | 3609534ea17d1b2ea3058988368734aba7ab7c3b (patch) | |
tree | cc3b54f3b52912fb67f8509230dc7e4e48e25fbf /benchmarks | |
parent | 36e49158ca84842398113769eaad686c6e7099c6 (diff) | |
download | FreeBSD-ports-3609534ea17d1b2ea3058988368734aba7ab7c3b.zip FreeBSD-ports-3609534ea17d1b2ea3058988368734aba7ab7c3b.tar.gz |
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 0000000..bf25a76 --- /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 0000000..bf25a76 --- /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 */ |