summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/popt/popt.c2
-rw-r--r--source3/popt/popt.h2
-rw-r--r--source3/popt/popthelp.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/popt/popt.c b/source3/popt/popt.c
index eb81c720f5..e9c4c17de5 100644
--- a/source3/popt/popt.c
+++ b/source3/popt/popt.c
@@ -1153,7 +1153,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/source3/popt/popt.h b/source3/popt/popt.h
index 6b5ee6b35f..08701d73b5 100644
--- a/source3/popt/popt.h
+++ b/source3/popt/popt.h
@@ -443,7 +443,7 @@ int poptConfigFileToString(FILE *fp, /*@out@*/ char ** argstrp, int flags)
* @param error popt error
* @return error string
*/
-/*@observer@*/ const char *const poptStrerror(const int error)
+/*@observer@*/ const char* poptStrerror(const int error)
/*@*/;
/** \ingroup popt
diff --git a/source3/popt/popthelp.c b/source3/popt/popthelp.c
index 56ba290574..70566a389e 100644
--- a/source3/popt/popthelp.c
+++ b/source3/popt/popthelp.c
@@ -67,7 +67,7 @@ struct poptOption poptHelpOptions[] = {
/**
* @param table option(s)
*/
-/*@observer@*/ /*@null@*/ static const char *const
+/*@observer@*/ /*@null@*/ static const char *
getTableTranslationDomain(/*@null@*/ const struct poptOption *table)
/*@*/
{
@@ -85,7 +85,7 @@ getTableTranslationDomain(/*@null@*/ const struct poptOption *table)
* @param opt option(s)
* @param translation_domain translation domain
*/
-/*@observer@*/ /*@null@*/ static const char *const
+/*@observer@*/ /*@null@*/ static const char *
getArgDescrip(const struct poptOption * opt,
/*@-paramuse@*/ /* FIX: i18n macros disabled with lclint */
/*@null@*/ const char * translation_domain)