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-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/4fd4b3d667c47599e187ee9b6d452392d4cc1ac4 Dropped a useless "const" from the definition of poptStrerror. --- diff --git a/popt/popt.c b/popt/popt.c index c389b2ee..9e007693 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 d4ba4911..06978f3d 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@*/