Browse code

modules/db_mysql: Add function declaration to prevent compiler warning.

- Define db_mysql_alloc_buffer(void) in km_dbase.h.

Timo Reimann authored on 17/08/2011 09:33:55
Showing 1 changed files
... ...
@@ -125,4 +125,11 @@ int db_insert_update(const db1_con_t* _h, const db_key_t* _k, const db_val_t* _v
125 125
 int db_mysql_use_table(db1_con_t* _h, const str* _t);
126 126
 
127 127
 
128
+/**
129
+ * Allocate a buffer for database module
130
+ * No function should be called before this
131
+ * \return zero on success, negative value on failure
132
+ */
133
+int db_mysql_alloc_buffer(void);
134
+
128 135
 #endif /* KM_DBASE_H */