Dropped a useless "const" from the definition of poptStrerror.
authorWayne Davison <wayned@samba.org>
Sun, 20 Feb 2005 17:21:13 +0000 (17:21 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 20 Feb 2005 17:21:13 +0000 (17:21 +0000)
popt/popt.c
popt/popt.h

index c389b2e..9e00769 100644 (file)
@@ -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:
index d4ba491..06978f3 100644 (file)
@@ -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@*/