aboutsummaryrefslogtreecommitdiff
path: root/ntpd/refclock_palisade.h
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_palisade.h')
-rw-r--r--ntpd/refclock_palisade.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/ntpd/refclock_palisade.h b/ntpd/refclock_palisade.h
index c2d4476a9833..4f1ab266eef3 100644
--- a/ntpd/refclock_palisade.h
+++ b/ntpd/refclock_palisade.h
@@ -50,12 +50,8 @@
*
*/
-#ifndef _REFCLOCK_PALISADE_H
-#define _REFCLOCK_PALISADE_H
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#ifndef REFCLOCK_PALISADE_H
+#define REFCLOCK_PALISADE_H
#if defined HAVE_SYS_MODEM_H
#include <sys/modem.h>
@@ -183,14 +179,13 @@ static int palisade_start (int, struct peer *);
static void palisade_shutdown (int, struct peer *);
static void palisade_receive (struct peer *);
static void palisade_poll (int, struct peer *);
-static void palisade_io (struct recvbuf *);
+static void palisade_io (struct recvbuf *);
int palisade_configure (int, struct peer *);
int TSIP_decode (struct peer *);
long HW_poll (struct refclockproc *);
-float getfloat (u_char *);
-double getdbl (u_char *);
-short getint (u_char *);
-long getlong (u_char *);
+static double getdbl (u_char *);
+static short getint (u_char *);
+static int32 getlong (u_char *);
#ifdef PALISADE_SENDCMD_RESURRECTED
@@ -202,4 +197,5 @@ static void sendint (struct packettx *buffer, int a);
static int sendetx (struct packettx *buffer, int fd);
static void init_thunderbolt (int fd);
static void init_acutime (int fd);
-#endif /* PALISADE_H */
+
+#endif /* REFCLOCK_PALISADE_H */