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 c389b2ee501650874573e8d0f12f1847ad2f1242..9e0076938165eaabb653cc7e3ca80cbeafb11402 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 d4ba4911aad5eddb4e5bf826a5efba5a06b4e6ae..06978f3df6463833fdd818362369ebf626550e60 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@*/