forked from jsonn/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use time.h instead of declaring own version of time().
- Loading branch information
dholland
committed
Nov 9, 2015
1 parent
17e6c99
commit 70a0a79
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |