X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fgnuclient.c;h=b2f5c19f08b997a53f0541ace9b4a20dc486a50c;hb=2fd9701a4f902054649dde9143a3f77809afee8f;hp=1954be479da4a0ce95888cd8b593b239da5c2827;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89;p=chise%2Fxemacs-chise.git.1 diff --git a/lib-src/gnuclient.c b/lib-src/gnuclient.c index 1954be4..b2f5c19 100644 --- a/lib-src/gnuclient.c +++ b/lib-src/gnuclient.c @@ -231,13 +231,13 @@ filename_expand (char *fullpath, char *filename) /* Encase the string in quotes, escape all the backslashes and quotes in string. */ static char * -clean_string (CONST char *s) +clean_string (const char *s) { int i = 0; char *p, *res; { - CONST char *const_p; + const char *const_p; for (const_p = s; *const_p; const_p++, i++) { if (*const_p == '\\' || *const_p == '\"') @@ -293,7 +293,7 @@ clean_string (CONST char *s) /* A strdup imitation. */ static char * -my_strdup (CONST char *s) +my_strdup (const char *s) { char *new_s = (char *) malloc (strlen (s) + 1); if (new_s)