Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/ntp/ntpdate Move loadservers() prototype to a header fi...



details:   https://anonhg.NetBSD.org/src/rev/122093d09f4e
branches:  trunk
changeset: 485036:122093d09f4e
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Apr 17 05:49:54 2000 +0000

description:
Move loadservers() prototype to a header file, so other files can see
that prototype.

diffstat:

 dist/ntp/ntpdate/ntpdate.h    |  4 +++-
 dist/ntp/ntpdate/ntptimeset.c |  3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r c87b0d1b4393 -r 122093d09f4e dist/ntp/ntpdate/ntpdate.h
--- a/dist/ntp/ntpdate/ntpdate.h        Mon Apr 17 05:49:11 2000 +0000
+++ b/dist/ntp/ntpdate/ntpdate.h        Mon Apr 17 05:49:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntpdate.h,v 1.1.1.1 2000/03/29 12:38:54 simonb Exp $   */
+/*     $NetBSD: ntpdate.h,v 1.2 2000/04/17 05:49:54 simonb Exp $       */
 
 /*
  * ntpdate.h - declarations for the ntpdate and ntptimeset programs
@@ -6,6 +6,8 @@
 
 #include "ntp_malloc.h"
 
+extern void    loadservers     P((char *cfgpath));
+
 /*
  * The server structure is a much simplified version of the
  * peer structure, for ntpdate's use.  Since we always send
diff -r c87b0d1b4393 -r 122093d09f4e dist/ntp/ntpdate/ntptimeset.c
--- a/dist/ntp/ntpdate/ntptimeset.c     Mon Apr 17 05:49:11 2000 +0000
+++ b/dist/ntp/ntpdate/ntptimeset.c     Mon Apr 17 05:49:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntptimeset.c,v 1.1.1.1 2000/03/29 12:38:54 simonb Exp $        */
+/*     $NetBSD: ntptimeset.c,v 1.2 2000/04/17 05:49:54 simonb Exp $    */
 
 /*
  * ntptimeset - get/set the time via ntp
@@ -310,7 +310,6 @@
 
 
 int    ntptimesetmain  P((int argc, char *argv[]));
-extern void    loadservers     P((char *cfgpath));
 static void    analysis        P((int final));
 static int     have_enough     P((void));
 static void    transmit        P((register struct server *server));



Home | Main Index | Thread Index | Old Index