summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/popt/popt.c2
-rw-r--r--source3/popt/popt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/popt/popt.c b/source3/popt/popt.c
index aef79566e7..9fa8650312 100644
--- a/source3/popt/popt.c
+++ b/source3/popt/popt.c
@@ -710,7 +710,7 @@ const char * poptBadOption(poptContext con, int flags) {
#define POPT_ERROR_BADQUOTE -15 /* only from poptParseArgString() */
#define POPT_ERROR_ERRNO -16 /* only from poptParseArgString() */
-const char *const poptStrerror(const int error) {
+const char *poptStrerror(const int error) {
switch (error) {
case POPT_ERROR_NOARG:
return POPT_("missing argument");
diff --git a/source3/popt/popt.h b/source3/popt/popt.h
index e6fa8bdffb..c33cedaec9 100644
--- a/source3/popt/popt.h
+++ b/source3/popt/popt.h
@@ -114,7 +114,7 @@ int poptDupArgv(int argc, const char **argv,
/*@out@*/ int * argcPtr, /*@out@*/ const char *** argvPtr);
int poptParseArgvString(const char * s,
/*@out@*/ int * argcPtr, /*@out@*/ const char *** argvPtr);
-/*@observer@*/ const char *const poptStrerror(const int error);
+/*@observer@*/ const char *poptStrerror(const int error);
void poptSetExecPath(poptContext con, const char * path, int allowAbsolute);
void poptPrintHelp(poptContext con, FILE * f, int flags);
void poptPrintUsage(poptContext con, FILE * f, int flags);