summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/include
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
commit4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch)
tree15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/xntpd/include
parent30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff)
downloadFreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip
FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/xntpd/include')
-rw-r--r--usr.sbin/xntpd/include/in.h2
-rw-r--r--usr.sbin/xntpd/include/l_stdlib.h4
-rw-r--r--usr.sbin/xntpd/include/ntp.h2
-rwxr-xr-xusr.sbin/xntpd/include/ntp_in.h2
-rw-r--r--usr.sbin/xntpd/include/ntp_io.h2
-rw-r--r--usr.sbin/xntpd/include/ntp_machine.h68
-rw-r--r--usr.sbin/xntpd/include/ntp_request.h6
-rw-r--r--usr.sbin/xntpd/include/ntp_select.h2
-rw-r--r--usr.sbin/xntpd/include/ntp_string.h2
-rw-r--r--usr.sbin/xntpd/include/ntp_types.h2
-rw-r--r--usr.sbin/xntpd/include/parse.h14
-rw-r--r--usr.sbin/xntpd/include/parse_conf.h2
-rw-r--r--usr.sbin/xntpd/include/sys/parsestreams.h2
13 files changed, 55 insertions, 55 deletions
diff --git a/usr.sbin/xntpd/include/in.h b/usr.sbin/xntpd/include/in.h
index abd404c..c18d569 100644
--- a/usr.sbin/xntpd/include/in.h
+++ b/usr.sbin/xntpd/include/in.h
@@ -183,7 +183,7 @@ struct sockaddr_in {
#define IP_MULTICAST_LOOP 4 /* set/get IP multicast loopback */
#define IP_ADD_MEMBERSHIP 5 /* add an IP group membership */
#define IP_DROP_MEMBERSHIP 6 /* drop an IP group membership */
-
+
#define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */
#define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */
#define IP_MAX_MEMBERSHIPS 20 /* per socket; must fit in one mbuf */
diff --git a/usr.sbin/xntpd/include/l_stdlib.h b/usr.sbin/xntpd/include/l_stdlib.h
index 426dc48..221682e 100644
--- a/usr.sbin/xntpd/include/l_stdlib.h
+++ b/usr.sbin/xntpd/include/l_stdlib.h
@@ -55,7 +55,7 @@ extern void bzero P((char *, int));
extern int bcmp P((char *, char *, int));
extern void bcopy P((char *, char *, int));
#endif
-extern char *mktemp P((char *));
+extern char *mktemp P((char *));
extern int tolower P((int));
@@ -196,7 +196,7 @@ extern int close P((int));
extern char * getpass P((char *));
extern int getpid P((void));
extern int ioctl P((int, int, char *));
-extern char *mktemp P((char *));
+extern char *mktemp P((char *));
extern int unlink P((const char *));
extern int link P((const char *, const char *));
diff --git a/usr.sbin/xntpd/include/ntp.h b/usr.sbin/xntpd/include/ntp.h
index 733f2e7..5eca0e8 100644
--- a/usr.sbin/xntpd/include/ntp.h
+++ b/usr.sbin/xntpd/include/ntp.h
@@ -467,7 +467,7 @@ struct pkt {
* the maximum length NTP packet is a full length NTP control message with
* the maximum length message authenticator. I hate to hard-code 468 and 12,
* but only a few modules include ntp_control.h...
- */
+ */
#define RX_BUFF_SIZE (468+12+MAX_MAC_LEN)
struct recvbuf {
diff --git a/usr.sbin/xntpd/include/ntp_in.h b/usr.sbin/xntpd/include/ntp_in.h
index 80aa451..494051f 100755
--- a/usr.sbin/xntpd/include/ntp_in.h
+++ b/usr.sbin/xntpd/include/ntp_in.h
@@ -186,7 +186,7 @@ struct sockaddr_in {
#define IP_MULTICAST_LOOP 4 /* set/get IP multicast loopback */
#define IP_ADD_MEMBERSHIP 5 /* add an IP group membership */
#define IP_DROP_MEMBERSHIP 6 /* drop an IP group membership */
-
+
#define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */
#define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */
#define IP_MAX_MEMBERSHIPS 20 /* per socket; must fit in one mbuf */
diff --git a/usr.sbin/xntpd/include/ntp_io.h b/usr.sbin/xntpd/include/ntp_io.h
index d60f083..ebe20b4 100644
--- a/usr.sbin/xntpd/include/ntp_io.h
+++ b/usr.sbin/xntpd/include/ntp_io.h
@@ -1,5 +1,5 @@
/*
- * POSIX says use <fnct.h> to get O_* symbols and
+ * POSIX says use <fnct.h> to get O_* symbols and
* SEEK_SET symbol form <untisd.h>.
*/
#if defined(NTP_POSIX_SOURCE)
diff --git a/usr.sbin/xntpd/include/ntp_machine.h b/usr.sbin/xntpd/include/ntp_machine.h
index 9d2bab8..0b62ed1 100644
--- a/usr.sbin/xntpd/include/ntp_machine.h
+++ b/usr.sbin/xntpd/include/ntp_machine.h
@@ -9,7 +9,7 @@
Various options.
They can defined with the DEFS directive in the Config file if they
are not defined here.
-
+
WHICH NICE
HAVE_ATT_NICE - Use att nice(priority_change)
@@ -17,11 +17,11 @@ WHICH NICE
HAVE_NO_NICE - Don't have (or use) either
KERNEL MUCKING - If you porting to a new system see xntpd/ntp_unixclock.c and
- util/tickadj.c to see what these do. This is very system
+ util/tickadj.c to see what these do. This is very system
dependent stuff!!!
-
+
HAVE_LIBKVM - Use libkvm to read kernal memory
- HAVE_READKMEM - Use read to read kernal memory
+ HAVE_READKMEM - Use read to read kernal memory
NOKMEM - Don't read kmem
HAVE_N_UN - Have u_nn nlist struct.
@@ -31,7 +31,7 @@ WHICH SETPGRP TO USE - Not needed if NTP_POSIX_SOURCE is defined since you
HAVE_ATT_SETPGRP - setpgrp(void) instead of setpgrp(int, int)
-Signaled IO - Signled IO defines.
+Signaled IO - Signled IO defines.
HAVE_SIGNALED_IO - Enable signaled io. Assumes you are going to use SIGIO
for tty and udp io.
@@ -39,10 +39,10 @@ Signaled IO - Signled IO defines.
sockets routines are defined on top of streams.
USE_TTY_SIGPOLL - Use SIGPOLL on tty io. This assumes streams.
UDP_BACKWARDS_SETOWN - SunOS 3.5 or Ultirx 2.0 system.
-
-WHICH TERMINAL MODEL TO USE - I would assume HAVE_TERMIOS if
- NTP_POSIX_SOURCE was set but can't. The
+
+WHICH TERMINAL MODEL TO USE - I would assume HAVE_TERMIOS if
+ NTP_POSIX_SOURCE was set but can't. The
posix tty driver is too restrictive on most systems.
It is defined if you define STREAMS.
@@ -65,8 +65,8 @@ THIS MAKES PORTS TO NEW SYSTEMS EASY - You only have to wory about
STEP SLEW OR TWO STEP - The Default is to step.
- SLEWALWAYS - setttimeofday can not be used to set the time of day at
- all.
+ SLEWALWAYS - setttimeofday can not be used to set the time of day at
+ all.
STEP_SLEW - setttimeofday can not set the seconds part of time
time use setttimeofday to set the seconds part of the
time and the slew the seconds.
@@ -101,8 +101,8 @@ WHAT DOES IOCTL(SIOCGIFCONF) RETURN IN THE BUFFER
When requesting the IP interface configuration with an ioctl(2) calll,
an array of ifreq structures are placed in the provided buffer. Some
implementations also place the length of the buffer information in
- the first integer position of the buffer.
-
+ the first integer position of the buffer.
+
SIZE_RETURNED_IN_BUFFER - size integer is in the buffer
WILL IOCTL(SIOCGIFCONF) WORK ON A SOCKET
@@ -113,7 +113,7 @@ WILL IOCTL(SIOCGIFCONF) WORK ON A SOCKET
USE_STREAMS_DEVICE_FOR_IF_CONFIG - use the /dev/ip device for configuration
-MISC
+MISC
USE_PROTOTYPES - Prototype functions
DOSYNCTODR - Resync TODR clock every hour.
@@ -136,13 +136,13 @@ have, some that can do proto typing and others that cannot on the same system.
I get a chance to twiddle some of the configuration parameters at compile
time based on compiler/machine combinations by using this include file.
See convex, aix and sun configurations see how complex it get.
-
+
Note that it _is_ considered reasonable to add some system-specific defines
to the machine/<os> file if it would be too inconvenient to puzzle them out
in this file.
-
+
*/
-
+
/*
* RS6000 running AIX.
@@ -175,7 +175,7 @@ in this file.
#if defined(SYS_SUNOS4)
#define NTP_NEED_BOPS
#define NO_SIGNED_CHAR_DECL
-#define HAVE_LIBKVM
+#define HAVE_LIBKVM
#define HAVE_MALLOC_H
#define HAVE_BSD_NICE
#define RETSIGTYPE void
@@ -195,7 +195,7 @@ in this file.
#undef USE_TTY_SIGPOLL
#undef USE_UDP_SIGPOLL
#define STREAMS_TLI
-#define NO_SIGNED_CHAR_DECL
+#define NO_SIGNED_CHAR_DECL
#define STEP_SLEW /* TWO step */
#define RETSIGTYPE void
#define NTP_POSIX_SOURCE
@@ -213,7 +213,7 @@ in this file.
#define HAVE_SIGNALED_IO
#define USE_TTY_SIGPOLL
#define USE_UDP_SIGPOLL
-#define NO_SIGNED_CHAR_DECL
+#define NO_SIGNED_CHAR_DECL
#define STEP_SLEW /* TWO step */
#define RETSIGTYPE void
#define NTP_POSIX_SOURCE
@@ -232,9 +232,9 @@ in this file.
#if defined(SYS_CONVEXOS10) || defined(SYS_CONVEXOS9)
#define HAVE_SIGNALED_IO
#define HAVE_N_UN
-#define HAVE_READKMEM
+#define HAVE_READKMEM
#define HAVE_BSD_NICE
-#if defined(convex)
+#if defined(convex)
#define RETSIGTYPE int
#define NO_SIGNED_CHAR_DECL
#else
@@ -275,7 +275,7 @@ in this file.
*/
#if defined(SYS_ULTRIX)
#define S_CHAR_DEFINED
-#define HAVE_READKMEM
+#define HAVE_READKMEM
#define HAVE_BSD_NICE
#define RETSIGTYPE void
#define NTP_SYSCALLS_STD
@@ -399,7 +399,7 @@ in this file.
#define NTP_POSIX_SOURCE
#define ADJTIME_IS_ACCURATE
#define HAVE_SYS_TIMEX_H
-/* hope there will be a standard interface
+/* hope there will be a standard interface
* along with a standard name one day ! */
#define ntp_adjtime __adjtimex
#define HAVE_BSD_NICE
@@ -478,8 +478,8 @@ in this file.
* XXX - what OS?
*/
#if defined(SYS_I386)
-#define HAVE_READKMEM
-#define S_CHAR_DEFINED
+#define HAVE_READKMEM
+#define S_CHAR_DEFINED
#define HAVE_BSD_NICE
#ifndef STR_SYSTEM
#define STR_SYSTEM "UNIX/I386"
@@ -490,7 +490,7 @@ in this file.
* Mips
*/
#if defined(SYS_MIPS)
-#define NOKMEM
+#define NOKMEM
#define HAVE_BSD_NICE
#ifndef STR_SYSTEM
#define STR_SYSTEM "UNIX/Mips"
@@ -513,7 +513,7 @@ in this file.
#if defined(SYS_PTX)
#define NO_SIGNED_CHAR_DECL
#define STREAMS_TLI
-#define HAVE_ATT_SETPGRP
+#define HAVE_ATT_SETPGRP
#define HAVE_SIGNALED_IO
#define USE_UDP_SIGPOLL
#define USE_TTY_SIGPOLL
@@ -547,7 +547,7 @@ typedef unsigned long u_long;
* Sony NEWS
*/
#if defined(SYS_SONY)
-#define NO_SIGNED_CHAR_DECL
+#define NO_SIGNED_CHAR_DECL
#define HAVE_READKMEM
#define HAVE_BSD_NICE
#ifndef STR_SYSTEM
@@ -560,15 +560,15 @@ typedef unsigned long u_long;
* XXX - VMS?
*/
#if defined(SYS_VAX)
-#define NO_SIGNED_CHAR_DECL
-#define HAVE_READKMEM
+#define NO_SIGNED_CHAR_DECL
+#define HAVE_READKMEM
#define HAVE_BSD_NICE
#ifndef STR_SYSTEM
#define STR_SYSTEM "UNIX/VAX"
#endif
#endif
-/*
+/*
* UNIX V.4 on and NCR 3000
*/
#if defined(SYS_SVR4)
@@ -576,7 +576,7 @@ typedef unsigned long u_long;
#define USE_PROTOTYPES
#define NTP_POSIX_SOURCE
#define HAVE_ATT_NICE
-#define HAVE_READKMEM
+#define HAVE_READKMEM
#define USE_TTY_SIGPOLL
#define USE_UDP_SIGPOLL
#define STREAM
@@ -598,7 +598,7 @@ typedef unsigned long u_long;
#define USE_PROTOTYPES
#define NTP_POSIX_SOURCE
#define HAVE_ATT_NICE
-#define HAVE_READKMEM
+#define HAVE_READKMEM
#define USE_TTY_SIGPOLL
#define USE_UDP_SIGPOLL
#define UDP_WILDCARD_DELIVERY
@@ -611,7 +611,7 @@ typedef unsigned long u_long;
/* #define USE_STREAMS_DEVICE_FOR_IF_CONFIG */
#undef STEP_SLEW /* TWO step */
#define LOCK_PROCESS
-#define NO_SIGNED_CHAR_DECL
+#define NO_SIGNED_CHAR_DECL
#undef SYSV_TIMEOFDAY
#define SIZE_RETURNED_IN_BUFFER
#define RETSIGTYPE void
diff --git a/usr.sbin/xntpd/include/ntp_request.h b/usr.sbin/xntpd/include/ntp_request.h
index 698e20a..ea2d769 100644
--- a/usr.sbin/xntpd/include/ntp_request.h
+++ b/usr.sbin/xntpd/include/ntp_request.h
@@ -582,7 +582,7 @@ struct conf_restrict {
/*
* Structure used for returning monitor data
*/
-struct info_monitor_1 {
+struct info_monitor_1 {
U_LONG lasttime; /* last packet from this host */
U_LONG firsttime; /* first time we received a packet */
U_LONG lastdrop; /* last time we rejected a packet due to client limitation policy */
@@ -599,7 +599,7 @@ struct info_monitor_1 {
/*
* Structure used for returning monitor data
*/
-struct info_monitor {
+struct info_monitor {
U_LONG lasttime; /* last packet from this host */
U_LONG firsttime; /* first time we received a packet */
U_LONG lastdrop; /* last time we rejected a packet due to client limitation policy */
@@ -613,7 +613,7 @@ struct info_monitor {
/*
* Structure used for returning monitor data (old format
*/
-struct old_info_monitor {
+struct old_info_monitor {
U_LONG lasttime; /* last packet from this host */
U_LONG firsttime; /* first time we received a packet */
U_LONG count; /* count of packets received */
diff --git a/usr.sbin/xntpd/include/ntp_select.h b/usr.sbin/xntpd/include/ntp_select.h
index e3ce0e7..14e498d 100644
--- a/usr.sbin/xntpd/include/ntp_select.h
+++ b/usr.sbin/xntpd/include/ntp_select.h
@@ -1,6 +1,6 @@
/*
* Not all machines define FD_SET in sys/types.h
- */
+ */
#ifndef _ntp_select_h
#define _ntp_select_h
diff --git a/usr.sbin/xntpd/include/ntp_string.h b/usr.sbin/xntpd/include/ntp_string.h
index cc2eec8..90a29da 100644
--- a/usr.sbin/xntpd/include/ntp_string.h
+++ b/usr.sbin/xntpd/include/ntp_string.h
@@ -1,5 +1,5 @@
/*
- * Define string ops: strchr strrchr memcmp memmove memset
+ * Define string ops: strchr strrchr memcmp memmove memset
*/
#ifndef _ntp_string_h
diff --git a/usr.sbin/xntpd/include/ntp_types.h b/usr.sbin/xntpd/include/ntp_types.h
index ac3d76c..bbcea1b 100644
--- a/usr.sbin/xntpd/include/ntp_types.h
+++ b/usr.sbin/xntpd/include/ntp_types.h
@@ -55,6 +55,6 @@
#define U_LONG u_long
#endif /* U_LONG */
#endif /* __ alplha */
-
+
#endif /* _NTP_TYPES_ */
diff --git a/usr.sbin/xntpd/include/parse.h b/usr.sbin/xntpd/include/parse.h
index 49ed4e5..774cf5e 100644
--- a/usr.sbin/xntpd/include/parse.h
+++ b/usr.sbin/xntpd/include/parse.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1989,1990,1991,1992,1993,1994
* Frank Kardel Friedrich-Alexander Universitaet Erlangen-Nuernberg
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -204,8 +204,8 @@ typedef struct parsetime parsetime_t;
#define PARSE_IO_CSIZE 0x00000003
#define PARSE_IO_CS5 0x00000000
#define PARSE_IO_CS6 0x00000001
-#define PARSE_IO_CS7 0x00000002
-#define PARSE_IO_CS8 0x00000003
+#define PARSE_IO_CS7 0x00000002
+#define PARSE_IO_CS8 0x00000003
/*
* sizes
@@ -215,7 +215,7 @@ typedef struct parsetime parsetime_t;
/*
* ioctl structure
*/
-union parsectl
+union parsectl
{
struct parsestatus
{
@@ -243,7 +243,7 @@ union parsectl
u_long parse_cs; /* character size (needed for stripping) */
} parsesetcs;
};
-
+
typedef union parsectl parsectl_t;
/*------ for conversion routines --------*/
@@ -253,7 +253,7 @@ typedef union parsectl parsectl_t;
struct parse /* parse module local data */
{
int parse_flags; /* operation and current status flags */
-
+
int parse_ioflags; /* io handling flags (5-8 Bit control currently) */
int parse_syncflags; /* possible sync events (START/END/character) */
/*
@@ -292,7 +292,7 @@ struct parse /* parse module local data */
char *parse_ldata; /* last data buffer */
unsigned short parse_ldsize; /* last data buffer length */
u_long parse_badformat; /* number of unparsable pakets */
-
+
/*
* time stamp filtering
*/
diff --git a/usr.sbin/xntpd/include/parse_conf.h b/usr.sbin/xntpd/include/parse_conf.h
index 47f8c0c..3c512aa 100644
--- a/usr.sbin/xntpd/include/parse_conf.h
+++ b/usr.sbin/xntpd/include/parse_conf.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1993,1994
* Frank Kardel Friedrich-Alexander Universitaet Erlangen-Nuernberg
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/usr.sbin/xntpd/include/sys/parsestreams.h b/usr.sbin/xntpd/include/sys/parsestreams.h
index 7c054af..ac66f42 100644
--- a/usr.sbin/xntpd/include/sys/parsestreams.h
+++ b/usr.sbin/xntpd/include/sys/parsestreams.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1989,1990,1991,1992,1993,1994
* Frank Kardel Friedrich-Alexander Universitaet Erlangen-Nuernberg
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
OpenPOWER on IntegriCloud