* samba/lib/charcnv.c: Added const qualifiers.
Этот коммит содержится в:
родитель
a2511b792c
Коммит
ba0cd89c75
@ -3,6 +3,7 @@
|
|||||||
* samba/param/loadparm.c: Fixed warnings reported by gcc-2.95.
|
* samba/param/loadparm.c: Fixed warnings reported by gcc-2.95.
|
||||||
* dirent.c (split_dir_name): Don't assign a string literal to a
|
* dirent.c (split_dir_name): Don't assign a string literal to a
|
||||||
char *. Use '\0' instead of 0 when operating on characters.
|
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>
|
2005-05-20 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
@ -39,8 +39,8 @@ static void initmaps(void) {
|
|||||||
mapsinited = True;
|
mapsinited = True;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_map(char * str) {
|
static void update_map(const char * str) {
|
||||||
char *p;
|
const char *p;
|
||||||
|
|
||||||
for (p = str; *p; p++) {
|
for (p = str; *p; p++) {
|
||||||
if (p[1]) {
|
if (p[1]) {
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user