Hi there,

I've notice the imsg.h header isn't protected, this diffs correct all
of them.

Index: bgpd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/bgpd/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w bgpd/imsg.h
--- bgpd/imsg.h 15 Sep 2009 10:54:59 -0000      1.4
+++ bgpd/imsg.h 22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: dvmrpd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/dvmrpd/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w dvmrpd/imsg.h
--- dvmrpd/imsg.h       15 Sep 2009 10:54:59 -0000      1.4
+++ dvmrpd/imsg.h       22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: ldpd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/ldpd/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w ldpd/imsg.h
--- ldpd/imsg.h 15 Sep 2009 10:54:59 -0000      1.4
+++ ldpd/imsg.h 22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: ntpd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/ntpd/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w ntpd/imsg.h
--- ntpd/imsg.h 15 Sep 2009 10:54:59 -0000      1.4
+++ ntpd/imsg.h 22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: ospf6d/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/ospf6d/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w ospf6d/imsg.h
--- ospf6d/imsg.h       15 Sep 2009 10:54:59 -0000      1.4
+++ ospf6d/imsg.h       22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: ospfd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/ospfd/imsg.h,v
retrieving revision 1.8
diff -d -u -p -w ospfd/imsg.h
--- ospfd/imsg.h        15 Sep 2009 10:54:59 -0000      1.8
+++ ospfd/imsg.h        22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: relayd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/relayd/imsg.h,v
retrieving revision 1.13
diff -d -u -p -w relayd/imsg.h
--- relayd/imsg.h       15 Sep 2009 10:54:59 -0000      1.13
+++ relayd/imsg.h       22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: ripd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/ripd/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w ripd/imsg.h
--- ripd/imsg.h 15 Sep 2009 10:54:59 -0000      1.4
+++ ripd/imsg.h 22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: smtpd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/imsg.h,v
retrieving revision 1.6
diff -d -u -p -w smtpd/imsg.h
--- smtpd/imsg.h        15 Sep 2009 10:54:59 -0000      1.6
+++ smtpd/imsg.h        22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: snmpd/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/snmpd/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w snmpd/imsg.h
--- snmpd/imsg.h        15 Sep 2009 10:54:59 -0000      1.4
+++ snmpd/imsg.h        22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */
Index: ypldap/imsg.h
===================================================================
RCS file: /cvs/src/usr.sbin/ypldap/imsg.h,v
retrieving revision 1.4
diff -d -u -p -w ypldap/imsg.h
--- ypldap/imsg.h       15 Sep 2009 10:54:59 -0000      1.4
+++ ypldap/imsg.h       22 Feb 2010 08:35:02 -0000
@@ -18,6 +18,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef _IMSG_H_
+#define        _IMSG_H_
+
 #include <sys/tree.h>
 
 #define READ_BUF_SIZE          65535
@@ -107,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct buf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif /* _IMSG_H_ */

Reply via email to