Procházet zdrojové kódy

Align defines protecting headers with filenames.

Jan Janak před 16 roky
rodič
revize
d5d6356037

+ 3 - 3
modules/db_postgres/km_dbase.h

@@ -31,8 +31,8 @@
  *  Module: \ref db_postgres
  *  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_con.h"
 #include "../../db/db_res.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);
 int db_postgres_use_table(db_con_t* _h, const str* _t);
 
 
 
 
-#endif /* DBASE_H */
+#endif /* KM_DBASE_H */

+ 3 - 3
modules/db_postgres/km_pg_con.h

@@ -31,8 +31,8 @@
  *  Module: \ref db_mysql
  *  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_pool.h"
 #include "../../db/db_id.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);
 void db_postgres_free_connection(struct pool_con* con);
 
 
-#endif /* PG_CON_H */
+#endif /* KM_PG_CON_H */

+ 2 - 2
modules/db_postgres/km_res.h

@@ -27,8 +27,8 @@
  *  Module: \ref db_postgres
  *  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"
 #include "../../db/db_row.h"
 
 

+ 2 - 2
modules/db_postgres/km_val.h

@@ -26,8 +26,8 @@
  *  Module: \ref db_postgres
  *  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);
 int db_postgres_str2val(const db_type_t _t, db_val_t* _v, const char* _s, const int _l);