[SR-Dev] git:janakj/postgres: Align defines protecting headers with filenames.

Jan Janak jan at iptel.org
Wed Feb 18 01:26:23 CET 2009


Module: sip-router
Branch: janakj/postgres
Commit: d5d6356037c2684425108ec4a4105a3453713f0e
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d5d6356037c2684425108ec4a4105a3453713f0e

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Wed Feb 18 00:39:53 2009 +0100

Align defines protecting headers with filenames.

---

 modules/db_postgres/km_dbase.h  |    6 +++---
 modules/db_postgres/km_pg_con.h |    6 +++---
 modules/db_postgres/km_res.h    |    4 ++--
 modules/db_postgres/km_val.h    |    4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/modules/db_postgres/km_dbase.h b/modules/db_postgres/km_dbase.h
index ad05f54..531ec59 100644
--- a/modules/db_postgres/km_dbase.h
+++ b/modules/db_postgres/km_dbase.h
@@ -31,8 +31,8 @@
  *  Module: \ref db_postgres
  */
 
-#ifndef DBASE_H
-#define DBASE_H
+#ifndef KM_DBASE_H
+#define KM_DBASE_H
 
 #include "../../db/db_con.h"
 #include "../../db/db_res.h"
@@ -110,4 +110,4 @@ int db_postgres_fetch_result(const db_con_t* _h, db_res_t** _r, const int nrows)
 int db_postgres_use_table(db_con_t* _h, const str* _t);
 
 
-#endif /* DBASE_H */
+#endif /* KM_DBASE_H */
diff --git a/modules/db_postgres/km_pg_con.h b/modules/db_postgres/km_pg_con.h
index c7cf63e..ee46846 100644
--- a/modules/db_postgres/km_pg_con.h
+++ b/modules/db_postgres/km_pg_con.h
@@ -31,8 +31,8 @@
  *  Module: \ref db_mysql
  */
 
-#ifndef PG_CON_H
-#define PG_CON_H
+#ifndef KM_PG_CON_H
+#define KM_PG_CON_H
 
 #include "../../db/db_pool.h"
 #include "../../db/db_id.h"
@@ -75,4 +75,4 @@ struct pg_con* db_postgres_new_connection(struct db_id* id);
  */
 void db_postgres_free_connection(struct pool_con* con);
 
-#endif /* PG_CON_H */
+#endif /* KM_PG_CON_H */
diff --git a/modules/db_postgres/km_res.h b/modules/db_postgres/km_res.h
index 5b2627f..959138e 100644
--- a/modules/db_postgres/km_res.h
+++ b/modules/db_postgres/km_res.h
@@ -27,8 +27,8 @@
  *  Module: \ref db_postgres
  */
 
-#ifndef DB_PG_RES_H
-#define DB_PG_RES_H
+#ifndef KM_RES_H
+#define KM_RES_H
 
 #include "../../db/db_row.h"
 
diff --git a/modules/db_postgres/km_val.h b/modules/db_postgres/km_val.h
index cbee53a..6e0b253 100644
--- a/modules/db_postgres/km_val.h
+++ b/modules/db_postgres/km_val.h
@@ -26,8 +26,8 @@
  *  Module: \ref db_postgres
  */
 
-#ifndef DB_PG_VAL_H
-#define DB_PG_VAL_H
+#ifndef KM_VAL_H
+#define KM_VAL_H
 
 int db_postgres_str2val(const db_type_t _t, db_val_t* _v, const char* _s, const int _l);
 




More information about the sr-dev mailing list