Remove "initialization from incompatible pointer type" warnings.
authorNorth Antara <north@ntbox.com>
Wed, 19 Jul 2006 22:48:00 +0000 (22:48 +0000)
committerNorth Antara <north@ntbox.com>
Wed, 19 Jul 2006 22:48:00 +0000 (22:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_config_odbc.c
res/res_config_pgsql.c

index 31989eb..a964ee7 100644 (file)
@@ -487,7 +487,7 @@ static SQLHSTMT config_odbc_prepare(struct odbc_obj *obj, void *data)
        return sth;
 }
 
-static struct ast_config *config_odbc(const char *database, const char *table, const char *file, struct ast_config *cfg)
+static struct ast_config *config_odbc(const char *database, const char *table, const char *file, struct ast_config *cfg, int withcomments)
 {
        struct ast_variable *new_v;
        struct ast_category *cur_cat;
index 8b8d77d..ace243e 100644 (file)
@@ -439,7 +439,8 @@ static int update_pgsql(const char *database, const char *table, const char *key
 }
 
 static struct ast_config *config_pgsql(const char *database, const char *table,
-                                          const char *file, struct ast_config *cfg)
+                                          const char *file, struct ast_config *cfg,
+                                          int withcomments)
 {
        PGresult *result = NULL;
        long num_rows;