summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1994-08-21 05:44:12 +0000
committerpaul <paul@FreeBSD.org>1994-08-21 05:44:12 +0000
commit743dba06ce06157ddf2a0e17aa508e3812cf4c25 (patch)
treeefeb23d70087ad5957e173db58eec532dfe0c8e8
parent8197ce5e98353ade5c0651b18d741110a142e3c8 (diff)
downloadFreeBSD-src-743dba06ce06157ddf2a0e17aa508e3812cf4c25.zip
FreeBSD-src-743dba06ce06157ddf2a0e17aa508e3812cf4c25.tar.gz
Made idempotent
-rw-r--r--sys/netccitt/dll.h7
-rw-r--r--sys/netccitt/hd_var.h7
-rw-r--r--sys/netccitt/hdlc.h7
-rw-r--r--sys/netccitt/llc_var.h7
-rw-r--r--sys/netccitt/pk.h7
-rw-r--r--sys/netccitt/pk_var.h7
-rw-r--r--sys/netccitt/x25.h7
-rw-r--r--sys/netccitt/x25acct.h7
-rw-r--r--sys/netccitt/x25err.h6
9 files changed, 52 insertions, 10 deletions
diff --git a/sys/netccitt/dll.h b/sys/netccitt/dll.h
index 082d3d3..c283918 100644
--- a/sys/netccitt/dll.h
+++ b/sys/netccitt/dll.h
@@ -33,9 +33,12 @@
* SUCH DAMAGE.
*
* @(#)dll.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: dll.h,v 1.2 1994/08/02 07:46:56 davidg Exp $
*/
+#ifndef _NETCCITT_DLL_H_
+#define _NETCCITT_DLL_H_
+
/*
* We define the additional PRC_* codes in here
*/
@@ -82,3 +85,5 @@ struct dll_ctlinfo {
#define dlcti_pcb CTLIun.CTLI_DOWN.dctli_down_pcb
#define dlcti_rt CTLIun.CTLI_DOWN.dctli_down_rt
#define dlcti_conf CTLIun.CTLI_DOWN.dctli_down_llconf
+
+#endif
diff --git a/sys/netccitt/hd_var.h b/sys/netccitt/hd_var.h
index 0ae1962..24679ac 100644
--- a/sys/netccitt/hd_var.h
+++ b/sys/netccitt/hd_var.h
@@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)hd_var.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: hd_var.h,v 1.2 1994/08/02 07:47:10 davidg Exp $
*/
+#ifndef _NETCCITT_HD_VAR_H_
+#define _NETCCITT_HD_VAR_H_
+
/*
*
* hdlc control block
@@ -106,3 +109,5 @@ int hd_t1; /* timer T1 value */
int hd_t3; /* RR send timer */
int hd_n2; /* frame retransmission limit */
#endif
+
+#endif
diff --git a/sys/netccitt/hdlc.h b/sys/netccitt/hdlc.h
index 62e7177..f7fd793 100644
--- a/sys/netccitt/hdlc.h
+++ b/sys/netccitt/hdlc.h
@@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)hdlc.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: hdlc.h,v 1.2 1994/08/02 07:47:12 davidg Exp $
*/
+#ifndef _NETCCITT_HDLC_H_
+#define _NETCCITT_HDLC_H_
+
#ifndef ORDER4
#define FALSE 0
#define TRUE 1
@@ -155,3 +158,5 @@ struct Hdlc_frame {
bool range_check ();
bool valid_nr ();
struct mbuf *hd_remove ();
+
+#endif
diff --git a/sys/netccitt/llc_var.h b/sys/netccitt/llc_var.h
index 18b6be9..f5452c1 100644
--- a/sys/netccitt/llc_var.h
+++ b/sys/netccitt/llc_var.h
@@ -37,9 +37,12 @@
* SUCH DAMAGE.
*
* @(#)llc_var.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: llc_var.h,v 1.2 1994/08/02 07:47:25 davidg Exp $
*/
+#ifndef _NETCCITT_LLC_VAR_H_
+#define _NETCCITT_LLC_VAR_H_
+
#ifdef __STDC__
/*
* Forward structure declarations for function prototypes [sic].
@@ -657,4 +660,4 @@ int x25_llcglue __P((int, struct sockaddr *));
#endif
-
+#endif
diff --git a/sys/netccitt/pk.h b/sys/netccitt/pk.h
index da96bf1..a1f8ebb 100644
--- a/sys/netccitt/pk.h
+++ b/sys/netccitt/pk.h
@@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)pk.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: pk.h,v 1.2 1994/08/02 07:47:27 davidg Exp $
*/
+#ifndef _NETCCITT_PK_H_
+#define _NETCITT_PK_H_
+
/*
*
* X.25 Packet Level Definitions:
@@ -206,3 +209,5 @@ struct mbuf *pk_template ();
#define DTE_PRETENDDTE 0x0020
#define MAXRESTARTCOLLISIONS 10
+
+#endif
diff --git a/sys/netccitt/pk_var.h b/sys/netccitt/pk_var.h
index df29acf..1690d2a 100644
--- a/sys/netccitt/pk_var.h
+++ b/sys/netccitt/pk_var.h
@@ -39,9 +39,12 @@
* SUCH DAMAGE.
*
* @(#)pk_var.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: pk_var.h,v 1.2 1994/08/02 07:47:48 davidg Exp $
*/
+#ifndef _NETCCITT_PK_VAR_H_
+#define _NETCCITT_PK_VAR_H_
+
/*
*
* X.25 Logical Channel Descriptor
@@ -230,3 +233,5 @@ struct pklcd *pk_attach();
extern char *pk_name[], *pk_state[];
int pk_t20, pk_t21, pk_t22, pk_t23;
#endif
+
+#endif
diff --git a/sys/netccitt/x25.h b/sys/netccitt/x25.h
index 1fbbe3e..2d4a4f6 100644
--- a/sys/netccitt/x25.h
+++ b/sys/netccitt/x25.h
@@ -38,9 +38,12 @@
* SUCH DAMAGE.
*
* @(#)x25.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: x25.h,v 1.2 1994/08/02 07:47:50 davidg Exp $
*/
+#ifndef _NETCCITT_X25_H_
+#define _NETCCITT_X25_H_
+
#ifdef KERNEL
#define PRC_IFUP 3
#define PRC_LINKUP 4
@@ -156,3 +159,5 @@ struct ifreq_x25 {
#define SIOCSIFCONF_X25 _IOW('i', 12, struct ifreq_x25) /* set ifnet config */
#define SIOCGIFCONF_X25 _IOWR('i',13, struct ifreq_x25) /* get ifnet config */
#endif
+
+#endif
diff --git a/sys/netccitt/x25acct.h b/sys/netccitt/x25acct.h
index ee5b324..a5ecdd2 100644
--- a/sys/netccitt/x25acct.h
+++ b/sys/netccitt/x25acct.h
@@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)x25acct.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: x25acct.h,v 1.2 1994/08/02 07:47:52 davidg Exp $
*/
+#ifndef _NETCCITT_X25ACCT_H_
+#define _NETCCITT_X25ACCT_H_
+
/*
* Format of X.25 accounting record written
* to X25ACCTF whenever a circuit is closed.
@@ -69,3 +72,5 @@ struct x25acct {
long x25acct_txcnt; /* packets transmitted */
long x25acct_rxcnt; /* packets received */
};
+
+#endif
diff --git a/sys/netccitt/x25err.h b/sys/netccitt/x25err.h
index 9cf5ade..1ee8e69 100644
--- a/sys/netccitt/x25err.h
+++ b/sys/netccitt/x25err.h
@@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)x25err.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: x25err.h,v 1.2 1994/08/02 07:47:53 davidg Exp $
*/
+#ifndef _NETCCITT_X25ERR_H_
+#define _NETCCITT_X25ERR_H_
+
/*
*
* X.25 Reset and Clear errors and diagnostics. These values are
@@ -63,3 +66,4 @@
#define EXCNCG 118 /* Clear: network congestion */
#define EXCNOB 119 /* Clear: not obtainable */
+#endif
OpenPOWER on IntegriCloud