summaryrefslogtreecommitdiffstats
path: root/bin/date
diff options
context:
space:
mode:
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/extern.h2
-rw-r--r--bin/date/netdate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/date/extern.h b/bin/date/extern.h
index 76b8d5e..91aeab2 100644
--- a/bin/date/extern.h
+++ b/bin/date/extern.h
@@ -30,4 +30,6 @@
* $FreeBSD$
*/
+extern int retval;
+
int netsettime(time_t);
diff --git a/bin/date/netdate.c b/bin/date/netdate.c
index b844106..b085be4 100644
--- a/bin/date/netdate.c
+++ b/bin/date/netdate.c
@@ -55,8 +55,6 @@ __FBSDID("$FreeBSD$");
#define WAITACK 2 /* seconds */
#define WAITDATEACK 5 /* seconds */
-extern int retval;
-
/*
* Set the date in the machines controlled by timedaemons by communicating the
* new date to the local timedaemon. If the timedaemon is in the master state,
OpenPOWER on IntegriCloud