diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-07-03 12:19:12 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-07-03 12:36:25 -0400 |
commit | 550f27dbdbd00024e483b989ebc033b2cbe0d239 (patch) | |
tree | 3cc1875f04808a021eb85ceb3ae6201e4c0b32f6 /common/ini/ini_config.c | |
parent | 19727007c9948ee92a9505efae6692ea38c96a3e (diff) | |
download | sssd-550f27dbdbd00024e483b989ebc033b2cbe0d239.tar.gz sssd-550f27dbdbd00024e483b989ebc033b2cbe0d239.tar.xz sssd-550f27dbdbd00024e483b989ebc033b2cbe0d239.zip |
Clean up warnings in common/
Fix consts and function declarations
Diffstat (limited to 'common/ini/ini_config.c')
-rw-r--r-- | common/ini/ini_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ini/ini_config.c b/common/ini/ini_config.c index 9b23c94cd..4f4ac2f24 100644 --- a/common/ini/ini_config.c +++ b/common/ini/ini_config.c @@ -1408,9 +1408,9 @@ void free_bin_config_value(char *value) /* Arrays of stings and integers */ char **get_string_config_array(struct collection_item *item, - char *sep, int *size, int *error) + const char *sep, int *size, int *error) { - char defsep[] = ","; + const char *defsep = ","; char *copy = NULL; char *dest = NULL; int lensep; |