From: Wayne Davison Date: Sun, 20 Feb 2005 17:21:13 +0000 (+0000) Subject: Dropped a useless "const" from the definition of poptStrerror. X-Git-Tag: v2.6.4pre1~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fd4b3d667c47599e187ee9b6d452392d4cc1ac4;p=thirdparty%2Frsync.git Dropped a useless "const" from the definition of poptStrerror. --- diff --git a/popt/popt.c b/popt/popt.c index c389b2ee5..9e0076938 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -1128,7 +1128,7 @@ const char * poptBadOption(poptContext con, int flags) /*@=nullderef@*/ } -const char *const poptStrerror(const int error) +const char * poptStrerror(const int error) { switch (error) { case POPT_ERROR_NOARG: diff --git a/popt/popt.h b/popt/popt.h index d4ba4911a..06978f3df 100644 --- a/popt/popt.h +++ b/popt/popt.h @@ -373,7 +373,7 @@ int poptParseArgvString(const unsigned char * s, * @return error string */ /*@-redecl@*/ -/*@observer@*/ const char *const poptStrerror(const int error) +/*@observer@*/ const char * poptStrerror(const int error) /*@*/; /*@=redecl@*/