INN commit: trunk/include/inn (inndcomm.h ov.h storage.h)

INN Commit Russ_Allbery at isc.org
Wed Nov 22 06:26:41 UTC 2006


    Date: Tuesday, November 21, 2006 @ 22:26:40
  Author: eagle
Revision: 7587

Add header guards to headers that were missing them.  Patch from Adam J.
Richter.

Modified:
  trunk/include/inn/inndcomm.h
  trunk/include/inn/ov.h
  trunk/include/inn/storage.h

------------+
 inndcomm.h |    4 ++++
 ov.h       |    6 +++---
 storage.h  |    6 +++---
 3 files changed, 10 insertions(+), 6 deletions(-)

Modified: inndcomm.h
===================================================================
--- inndcomm.h	2006-11-21 09:51:32 UTC (rev 7586)
+++ inndcomm.h	2006-11-22 06:26:40 UTC (rev 7587)
@@ -4,6 +4,9 @@
 **  running.
 */
 
+#ifndef INN_INNDCOMM_H
+#define INN_INNDCOMM_H 1
+
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
@@ -89,3 +92,4 @@
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */
+#endif /* !INN_INNDCOMM_H */

Modified: ov.h
===================================================================
--- ov.h	2006-11-21 09:51:32 UTC (rev 7586)
+++ ov.h	2006-11-22 06:26:40 UTC (rev 7587)
@@ -1,5 +1,5 @@
-#ifndef _OV_H_
-#define _OV_H_
+#ifndef INN_OV_H
+#define INN_OV_H 1
 
 #include "storage.h"
 #include "inn/history.h"
@@ -79,4 +79,4 @@
 }
 #endif /* __cplusplus */
 
-#endif /* _OV_H_ */
+#endif /* !INN_OV_H */

Modified: storage.h
===================================================================
--- storage.h	2006-11-21 09:51:32 UTC (rev 7586)
+++ storage.h	2006-11-22 06:26:40 UTC (rev 7587)
@@ -3,8 +3,8 @@
 **  Here be declarations related to the storage subsystem.
 */
 
-#ifndef __STORAGE_H__
-#define __STORAGE_H__
+#ifndef INN_STORAGE_H
+#define INN_STORAGE_H 1
 
 #include <stdio.h>
 #include <sys/types.h>
@@ -87,4 +87,4 @@
 
 END_DECLS
     
-#endif
+#endif /* !INN_STORAGE_H */



More information about the inn-committers mailing list