diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-28 17:28:02 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-28 17:28:02 +0000 |
commit | f488fa58728d1ddbf5fc8856affc19046b6846a4 (patch) | |
tree | 7940814a32521227f3b12e7460fced6161a59012 /benchmarks | |
parent | 727779dfcaa8165494e33db6bc327613743d2679 (diff) | |
download | ports-f488fa58728d1ddbf5fc8856affc19046b6846a4.tar.gz ports-f488fa58728d1ddbf5fc8856affc19046b6846a4.zip |
time(3) returns a time_t and not a long.
Notes
Notes:
svn path=/head/; revision=25174
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 */ |