]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Many files:
authorHarlan Stenn <stenn@ntp.org>
Thu, 22 Jul 1999 22:34:50 +0000 (22:34 -0000)
committerHarlan Stenn <stenn@ntp.org>
Thu, 22 Jul 1999 22:34:50 +0000 (22:34 -0000)
  * libntp/authkeys.c:
  * libntp/ieee754io.c:
  * libntp/iosignal.c:
  * libntp/machines.c:
  * libntp/mexit.c:
  * libntp/recvbuff.c:
  * ntpd/ntp_filegen.c:
  * ntpd/ntp_loopfilter.c:
  * ntpd/ntp_request.c:
  * ntpd/ntp_timer.c:
  * ntpd/ntpd.c: Compile/lint cleanup
  From: Allen Smith <easmith@beatrice.rutgers.edu>

bk: 37979c8ans_0UgGKIKgVMTQBIIK0WA

12 files changed:
ChangeLog
libntp/authkeys.c
libntp/ieee754io.c
libntp/iosignal.c
libntp/machines.c
libntp/mexit.c
libntp/recvbuff.c
ntpd/ntp_filegen.c
ntpd/ntp_loopfilter.c
ntpd/ntp_request.c
ntpd/ntp_timer.c
ntpd/ntpd.c

index 0bf349312899c67683cdd5a2118b844a1a42c603..595637402235bfc0ac5f0326c86940df69d8df07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+1999-07-22  Harlan Stenn  <stenn@whimsy.udel.edu>
+
+       * libntp/authkeys.c:
+       * libntp/ieee754io.c:
+       * libntp/iosignal.c:
+       * libntp/machines.c:
+       * libntp/mexit.c:
+       * libntp/recvbuff.c:
+       * ntpd/ntp_filegen.c:
+       * ntpd/ntp_loopfilter.c:
+       * ntpd/ntp_request.c:
+       * ntpd/ntp_timer.c:
+       * ntpd/ntpd.c: Compile/lint cleanup
+       From: Allen Smith <easmith@beatrice.rutgers.edu>
+       
 1999-07-21  Harlan Stenn  <stenn@whimsy.udel.edu>
 
        * configure.in (ac_cv_make_ntptime): Add tv_nsec check.
index d90578048d3c69e603afb20d04f8022333cbfab0..39ca4938f3d44d2dd3c0e4d1a5c54aeb68be9054 100644 (file)
@@ -42,9 +42,6 @@ struct savekey {
 #define        KEY_DES         0x100   /* this is a DES type key */
 #define        KEY_MD5         0x200   /* this is a MD5 type key */
 
-extern int debug;              /* Volkswagen after life */
-extern u_long current_time;    /* time since restart */
-
 /*
  * The hash table. This is indexed by the low order bits of the
  * keyid. We make this fairly big for potentially busy servers.
index 28d98f8db7ed8861c4ba34a58622d756073e7da3..54eebf9f92b6e779e0867eb504ba7e5fbe6cabd4 100644 (file)
@@ -22,7 +22,6 @@ static void put_byte P((unsigned char *, offsets_t, int *, unsigned char));
 #endif
 
 #ifdef LIBDEBUG
-extern int debug;
 
 #include "lib_strbuf.h"
 
index 85710f7845edd46460c1f9e86cdc1247fbf8a0e9..405b85ed0af39dea337b09e8e8bb858fe6f489b8 100644 (file)
@@ -39,7 +39,6 @@
 #include "ntp_if.h"
 #include "ntp_stdlib.h"
 #include "iosignal.h"
-extern int debug;
 
 #if defined(HAVE_SIGNALED_IO)
 static int sigio_block_count = 0;
index 4bf24aaf700df611847cc689d986534b6d1d02fd..662ed4701696ac55e243fedb845f4f854ae9a9b1 100644 (file)
@@ -235,7 +235,6 @@ static ULONGLONG LastTimerTime = 0;
 static CRITICAL_SECTION TimerCritialSection; /* lock for LastTimerCount & LastTimerTime */
 
 
-extern int debug;
 int
 gettimeofday(
        struct timeval *tv
index b04e7de8f73b62ea34c82a3ed5c6b3d798ddcd5f..a7b6cce1fa8beed32d4739399bb06366382d3868 100644 (file)
@@ -14,7 +14,6 @@ service_exit(
        int status
        )
 {
-       extern int debug;
 
        if (debug) /* did not become a service, simply exit */
            ExitThread((DWORD)status);
index fb4434c5c5cdc0467c4a5b9119ab146629a07867..f888e3bb222338e7da5928c14b43cebf66297996 100644 (file)
@@ -11,8 +11,6 @@
 #include "recvbuff.h"
 #include "iosignal.h"
 
-extern int debug;
-
 /*
  * Memory allocation
  */
index 79dc11a77c201d5ac127156e8d892970a9a530b6..80b9000b90b6802fc536a11389607af252cc9c16 100644 (file)
  */
 #define FGEN_AGE_SECS   (24*60*60) /* life time of FILEGEN_AGE in seconds */
 
-#ifdef DEBUG
-extern int debug;
-#endif
-
 static void    filegen_open    P((FILEGEN *, u_long));
 static int     valid_fileref   P((char *, char *));
 #ifdef UNUSED
index fc0701384a8b7c849030d3419e6dec9be173e892..c2632a9b5fb7cf18e163802698301c75fab75495 100644 (file)
@@ -134,36 +134,6 @@ double     last_offset;            /* last clock offset (s) */
 double allan_xpt;              /* Allan intercept (s) */
 double sys_error;              /* system standard error (s) */
 
-/*
- * Imported from ntp_proto.c module
- */
-extern double sys_rootdelay;   /* root delay */
-extern double sys_rootdispersion; /* root dispersion */
-extern s_char sys_precision;   /* local clock precision */
-extern struct peer *sys_peer;  /* system peer pointer */
-extern u_char sys_leap;                /* system leap bits */
-extern l_fp sys_reftime;       /* time at last update */
-
-/*
- * Imported from the library
- */
-extern double sys_maxfreq;     /* max frequency correction */
-
-/*
- * Imported from ntp_io.c module
- */
-extern struct interface *loopback_interface;
-
-/*
- * Imported from ntpd.c module
- */
-extern int debug;              /* global debug flag */
-
-/*
- * Imported from ntp_io.c module
- */
-extern u_long current_time;    /* like it says, in seconds */
-
 #if defined(KERNEL_PLL)
 /* Emacs cc-mode goes nuts if we split the next line... */
 #define MOD_BITS (MOD_OFFSET | MOD_MAXERROR | MOD_ESTERROR | \
index 39daa9462d2006dbdd5b3c046859b29f9629f5e9..2dda53452adf0f3fa41901707db1d88acb13bde8 100644 (file)
@@ -162,47 +162,6 @@ u_long numresppkts;                /* number of resp packets sent with data */
 u_long errorcounter[INFO_ERR_AUTH+1];  /* lazy way to count errors, indexed */
 /* by the error code */
 
-/*
- * Imported from ntp_proto
- */
-extern int sys_authenticate;
-
-/*
- * Imported from the I/O module
- */
-extern struct interface *any_interface;
-
-/*
- * Imported from the main routines
- */
-extern int debug;
-
-/*
- * Imported from the timer module
- */
-extern u_long current_time;
-
-/*
- * Imported from ntp_loopfilter.c
- */
-extern int pll_control;
-extern int kern_enable;
-extern int ntp_enable;
-extern u_long pps_control;
-
-/*
- * Imported from ntp_monitor.c
- */
-extern int mon_enabled;
-
-/*
- * Imported from ntp_util.c
- */
-extern int stats_control;
-
-extern struct peer *peer_hash[];
-extern struct peer *sys_peer;
-
 /*
  * A hack.  To keep the authentication module clear of ntp-ism's, we
  * include a time reset variable for its stats here.
@@ -1057,14 +1016,6 @@ io_stats(
         */
        extern u_long io_timereset;
        
-       extern u_long packets_dropped;
-       extern u_long packets_ignored;
-       extern u_long packets_received;
-       extern u_long packets_sent;
-       extern u_long packets_notsent;
-       extern u_long handler_calls;
-       extern u_long handler_pkts;
-
        io = (struct info_io_stats *)prepare_pkt(srcadr, inter, inpkt,
                                                 sizeof(struct info_io_stats));
 
@@ -1101,7 +1052,6 @@ timer_stats(
        /*
         * Importations from the timer module
         */
-       extern u_long alarm_overflow;
        extern u_long timer_timereset;
        extern u_long timer_overflows;
        extern u_long timer_xmtcalls;
index 9fb5f8145d9bfc66073f931a77a90a5b316df88e..8f1c3e236cde19ce721718775fa7551611909595 100644 (file)
@@ -20,8 +20,6 @@
 # include "ntp_timer.h"
 #endif
 
-extern int debug;
-
 /*
  * These routines provide support for the event timer. The timer is
  * implemented by an interrupt routine which sets a flag once every
index f6249bd595cd1448f1532dec2a0858b17c397219..d72451e9ebe130ad569d8c791914faf699b3ac39 100644 (file)
@@ -146,11 +146,6 @@ int initializing;
  */
 extern const char *Version;
 
-/*
- * Alarm flag. Imported from timer module
- */
-extern int alarm_flag;
-
 int was_alarmed;
 
 #ifdef DECL_SYSCALL