From 739edc1780f570dce230b6fdb2d0bf81434755cb Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 31 Oct 2000 19:24:52 +0000 Subject: [PATCH] * editcmd.c (canonicalize_pathname) [GTK]: Make the argument constant. (edit_split_filename) [GTK]: Make the second argument constant to match the declaration. --- gtkedit/ChangeLog | 7 +++++++ gtkedit/editcmd.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gtkedit/ChangeLog b/gtkedit/ChangeLog index 54375dee7..8a815e04d 100644 --- a/gtkedit/ChangeLog +++ b/gtkedit/ChangeLog @@ -1,3 +1,10 @@ +2000-09-30 Pavel Roskin + + * editcmd.c (canonicalize_pathname) [GTK]: Make the argument + constant. + (edit_split_filename) [GTK]: Make the second argument constant + to match the declaration. + 2000-10-30 Andrew V. Samoilov * editcmd.c (edit_save_file): better error handling on writting diff --git a/gtkedit/editcmd.c b/gtkedit/editcmd.c index 97b5a2ec3..948ef448e 100644 --- a/gtkedit/editcmd.c +++ b/gtkedit/editcmd.c @@ -439,7 +439,7 @@ void edit_split_filename (WEdit * edit, const char *f) static char cwd[1040]; -static char *canonicalize_pathname (char *p) +static char *canonicalize_pathname (const char *p) { char *q, *r; @@ -494,7 +494,7 @@ static char *canonicalize_pathname (char *p) #endif /* GTK */ -void edit_split_filename (WEdit * edit, char *longname) +void edit_split_filename (WEdit * edit, const char *longname) { char *exp, *p; #ifdef GTK