diff options
author | dholland <dholland> | 2015-11-09 07:30:59 +0000 |
---|---|---|
committer | dholland <dholland> | 2015-11-09 07:30:59 +0000 |
commit | 6b74b0fc2e0b011b82be37141e81d62223f016e0 (patch) | |
tree | 10a68aa1fd4f2e6fb7db50fe87962f2f1368dd4d /benchmarks/bytebench/patches/patch-dhry__1.c | |
parent | 5adf66a87a7467b51d566c165d4004130e122e89 (diff) | |
download | pkgsrc-6b74b0fc2e0b011b82be37141e81d62223f016e0.tar.gz |
Use time.h instead of declaring own version of time().
Diffstat (limited to 'benchmarks/bytebench/patches/patch-dhry__1.c')
-rw-r--r-- | benchmarks/bytebench/patches/patch-dhry__1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmarks/bytebench/patches/patch-dhry__1.c b/benchmarks/bytebench/patches/patch-dhry__1.c new file mode 100644 index 00000000000..fe6a5eaf4c6 --- /dev/null +++ b/benchmarks/bytebench/patches/patch-dhry__1.c @@ -0,0 +1,15 @@ +$NetBSD: patch-dhry__1.c,v 1.1 2015/11/09 07:30:59 dholland Exp $ + +- use standard headers + +--- src/dhry_1.c~ 1999-07-28 21:43:08.000000000 +0000 ++++ src/dhry_1.c +@@ -81,7 +81,7 @@ extern int times (); + /* Measurements should last at least about 2 seconds */ + #endif + #ifdef TIME +-extern long time(); ++#include <time.h> + /* see library function "time" */ + #define Too_Small_Time 2 + /* Measurements should last at least 2 seconds */ |