Bladeren bron

Align defines protecting header files with filenames.

Jan Janak 16 jaren geleden
bovenliggende
commit
c9658e6719

+ 3 - 3
modules/db_flatstore/km_flat_con.h

@@ -22,8 +22,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
  */
 
 
-#ifndef _FLAT_CON_H
-#define _FLAT_CON_H
+#ifndef _KM_FLAT_CON_H
+#define _KM_FLAT_CON_H
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <time.h>
 #include <time.h>
@@ -62,4 +62,4 @@ void flat_free_connection(struct flat_con* con);
 int flat_reopen_connection(struct flat_con* con);
 int flat_reopen_connection(struct flat_con* con);
 
 
 
 
-#endif /* _FLAT_CON_H */
+#endif /* _KM_FLAT_CON_H */

+ 3 - 3
modules/db_flatstore/km_flat_id.h

@@ -22,8 +22,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
  */
 
 
-#ifndef _FLAT_ID_H
-#define _FLAT_ID_H
+#ifndef _KM_FLAT_ID_H
+#define _KM_FLAT_ID_H
 
 
 #include "../../str.h"
 #include "../../str.h"
 
 
@@ -52,4 +52,4 @@ unsigned char cmp_flat_id(struct flat_id* id1, struct flat_id* id2);
 void free_flat_id(struct flat_id* id);
 void free_flat_id(struct flat_id* id);
 
 
 
 
-#endif /* _FLAT_ID_H */
+#endif /* _KM_FLAT_ID_H */

+ 3 - 3
modules/db_flatstore/km_flat_mi.h

@@ -22,8 +22,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
  */
 
 
-#ifndef _FLATSTORE_MI_H_
-#define _FLATSTORE_MI_H_
+#ifndef _KM_FLAT_MI_H_
+#define _KM_FLAT_MI_H_
 
 
 #include "../../mi/mi.h"
 #include "../../mi/mi.h"
 
 
@@ -31,5 +31,5 @@
 
 
 struct mi_root*  mi_flat_rotate_cmd(struct mi_root* cmd, void* param);
 struct mi_root*  mi_flat_rotate_cmd(struct mi_root* cmd, void* param);
 
 
-#endif /* _FLATSTORE_MI_H_ */
+#endif /* _KM_FLAT_MI_H_ */
 
 

+ 3 - 3
modules/db_flatstore/km_flat_pool.h

@@ -22,8 +22,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
  */
 
 
-#ifndef _FLAT_POOL_H
-#define _FLAT_POOL_H
+#ifndef _KM_FLAT_POOL_H
+#define _KM_FLAT_POOL_H
 
 
 #include "flat_con.h"
 #include "flat_con.h"
 
 
@@ -47,4 +47,4 @@ void flat_release_connection(struct flat_con* con);
  */
  */
 int flat_rotate_logs(void);
 int flat_rotate_logs(void);
 
 
-#endif /* _FLAT_POOL_H */
+#endif /* _KM_FLAT_POOL_H */

+ 3 - 3
modules/db_flatstore/km_flatstore.h

@@ -28,8 +28,8 @@
  *  2003-03-16  flags export parameter added (janakj)
  *  2003-03-16  flags export parameter added (janakj)
  */
  */
 
 
-#ifndef _FLATSTORE_H
-#define _FLATSTORE_H
+#ifndef _KM_FLATSTORE_H
+#define _KM_FLATSTORE_H
 
 
 #include "../../db/db_val.h"
 #include "../../db/db_val.h"
 #include "../../db/db_key.h"
 #include "../../db/db_key.h"
@@ -64,4 +64,4 @@ int flat_db_insert(const db_con_t* h, const db_key_t* k, const db_val_t* v,
 		const int n);
 		const int n);
 
 
 
 
-#endif /* _FLATSTORE_H */
+#endif /* _KM_FLATSTORE_H */

+ 3 - 3
modules/db_flatstore/km_flatstore_mod.h

@@ -27,8 +27,8 @@
  *  2003-03-16  flags export parameter added (janakj)
  *  2003-03-16  flags export parameter added (janakj)
  */
  */
 
 
-#ifndef FLATSTORE_MOD_H
-#define FLATSTORE_MOD_H
+#ifndef KM_FLATSTORE_MOD_H
+#define KM_FLATSTORE_MOD_H
 
 
 #include <time.h>
 #include <time.h>
 
 
@@ -64,4 +64,4 @@ extern time_t* flat_rotate;
 extern time_t local_timestamp;
 extern time_t local_timestamp;
 
 
 
 
-#endif /* FLATSTORE_MOD_H */
+#endif /* KM_FLATSTORE_MOD_H */