* samba/lib/charcnv.c: Added const qualifiers.

This commit is contained in:
Roland Illig 2005-05-24 12:16:41 +00:00
parent a2511b792c
commit ba0cd89c75
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
* samba/param/loadparm.c: Fixed warnings reported by gcc-2.95.
* dirent.c (split_dir_name): Don't assign a string literal to a
char *. Use '\0' instead of 0 when operating on characters.
* samba/lib/charcnv.c: Added const qualifiers.
2005-05-20 Pavel Roskin <proski@gnu.org>

View File

@ -39,8 +39,8 @@ static void initmaps(void) {
mapsinited = True;
}
static void update_map(char * str) {
char *p;
static void update_map(const char * str) {
const char *p;
for (p = str; *p; p++) {
if (p[1]) {