From: Ulrich Drepper Date: Tue, 3 Mar 1998 17:03:11 +0000 (+0000) Subject: Add const to parameter. X-Git-Tag: cvs/before-sparc-2_0_x-branch~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902e0412239da2995c58c330843a47de93f00883;p=thirdparty%2Fglibc.git Add const to parameter. --- diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c index 147a5ea23c9..33e99b47d4b 100644 --- a/sunrpc/clnt_perr.c +++ b/sunrpc/clnt_perr.c @@ -66,7 +66,7 @@ _buf() char * clnt_sperror(rpch, s) CLIENT *rpch; - char *s; + const char *s; { struct rpc_err e; void clnt_perrno(); @@ -149,7 +149,7 @@ clnt_sperror(rpch, s) void clnt_perror(rpch, s) CLIENT *rpch; - char *s; + const char *s; { (void) fprintf(stderr,"%s",clnt_sperror(rpch,s)); }