Module: sip-router Branch: janakj/flatstore Commit: c9658e67196928556779f5031f559b20db2094c1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c9658e67...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Wed Feb 18 16:38:55 2009 +0100
Align defines protecting header files with filenames.
---
modules/db_flatstore/km_flat_con.h | 6 +++--- modules/db_flatstore/km_flat_id.h | 6 +++--- modules/db_flatstore/km_flat_mi.h | 6 +++--- modules/db_flatstore/km_flat_pool.h | 6 +++--- modules/db_flatstore/km_flatstore.h | 6 +++--- modules/db_flatstore/km_flatstore_mod.h | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/modules/db_flatstore/km_flat_con.h b/modules/db_flatstore/km_flat_con.h index 7139e2d..ae02a30 100644 --- a/modules/db_flatstore/km_flat_con.h +++ b/modules/db_flatstore/km_flat_con.h @@ -22,8 +22,8 @@ * 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 <time.h> @@ -62,4 +62,4 @@ void flat_free_connection(struct flat_con* con); int flat_reopen_connection(struct flat_con* con);
-#endif /* _FLAT_CON_H */ +#endif /* _KM_FLAT_CON_H */ diff --git a/modules/db_flatstore/km_flat_id.h b/modules/db_flatstore/km_flat_id.h index 44d4c84..fb87e53 100644 --- a/modules/db_flatstore/km_flat_id.h +++ b/modules/db_flatstore/km_flat_id.h @@ -22,8 +22,8 @@ * 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"
@@ -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);
-#endif /* _FLAT_ID_H */ +#endif /* _KM_FLAT_ID_H */ diff --git a/modules/db_flatstore/km_flat_mi.h b/modules/db_flatstore/km_flat_mi.h index 0ae18e5..5309fad 100644 --- a/modules/db_flatstore/km_flat_mi.h +++ b/modules/db_flatstore/km_flat_mi.h @@ -22,8 +22,8 @@ * 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"
@@ -31,5 +31,5 @@
struct mi_root* mi_flat_rotate_cmd(struct mi_root* cmd, void* param);
-#endif /* _FLATSTORE_MI_H_ */ +#endif /* _KM_FLAT_MI_H_ */
diff --git a/modules/db_flatstore/km_flat_pool.h b/modules/db_flatstore/km_flat_pool.h index 1eaab69..8c103fc 100644 --- a/modules/db_flatstore/km_flat_pool.h +++ b/modules/db_flatstore/km_flat_pool.h @@ -22,8 +22,8 @@ * 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"
@@ -47,4 +47,4 @@ void flat_release_connection(struct flat_con* con); */ int flat_rotate_logs(void);
-#endif /* _FLAT_POOL_H */ +#endif /* _KM_FLAT_POOL_H */ diff --git a/modules/db_flatstore/km_flatstore.h b/modules/db_flatstore/km_flatstore.h index 08dd4b2..fa79a34 100644 --- a/modules/db_flatstore/km_flatstore.h +++ b/modules/db_flatstore/km_flatstore.h @@ -28,8 +28,8 @@ * 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_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);
-#endif /* _FLATSTORE_H */ +#endif /* _KM_FLATSTORE_H */ diff --git a/modules/db_flatstore/km_flatstore_mod.h b/modules/db_flatstore/km_flatstore_mod.h index f07a58e..7a71406 100644 --- a/modules/db_flatstore/km_flatstore_mod.h +++ b/modules/db_flatstore/km_flatstore_mod.h @@ -27,8 +27,8 @@ * 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>
@@ -64,4 +64,4 @@ extern time_t* flat_rotate; extern time_t local_timestamp;
-#endif /* FLATSTORE_MOD_H */ +#endif /* KM_FLATSTORE_MOD_H */