diff options
author | north <north@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-19 22:48:00 +0000 |
---|---|---|
committer | north <north@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-19 22:48:00 +0000 |
commit | d417e51f7893610a5c84cc5f01c40aa79cc30074 (patch) | |
tree | 1afdccd11232bf2f2f517c184cfad282f0ab6bf5 /res | |
parent | 3898789c02938e113f2898bddb29690cea5c0b9d (diff) |
Remove "initialization from incompatible pointer type" warnings.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38010 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_config_odbc.c | 2 | ||||
-rw-r--r-- | res/res_config_pgsql.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index 31989ebd7..a964ee75f 100644 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -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; diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index 8b8d77d91..ace243e12 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -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; |