svn commit: samba r15679 - branches/SAMBA_3_0/source/popt trunk/source/popt

jerry at samba.org jerry at samba.org
Thu May 18 04:10:53 GMT 2006


Author: jerry
Date: 2006-05-18 04:10:52 +0000 (Thu, 18 May 2006)
New Revision: 15679

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15679

Log:
fix some popt warnings
Modified:
   branches/SAMBA_3_0/source/popt/popt.c
   branches/SAMBA_3_0/source/popt/popt.h
   branches/SAMBA_3_0/source/popt/popthelp.c
   trunk/source/popt/popt.c
   trunk/source/popt/popt.h
   trunk/source/popt/popthelp.c


Changeset:
Modified: branches/SAMBA_3_0/source/popt/popt.c
===================================================================
--- branches/SAMBA_3_0/source/popt/popt.c	2006-05-18 04:05:37 UTC (rev 15678)
+++ branches/SAMBA_3_0/source/popt/popt.c	2006-05-18 04:10:52 UTC (rev 15679)
@@ -1153,7 +1153,7 @@
     /*@=nullderef@*/
 }
 
-const char *const poptStrerror(const int error)
+const char *poptStrerror(const int error)
 {
     switch (error) {
       case POPT_ERROR_NOARG:

Modified: branches/SAMBA_3_0/source/popt/popt.h
===================================================================
--- branches/SAMBA_3_0/source/popt/popt.h	2006-05-18 04:05:37 UTC (rev 15678)
+++ branches/SAMBA_3_0/source/popt/popt.h	2006-05-18 04:10:52 UTC (rev 15679)
@@ -443,7 +443,7 @@
  * @param error		popt error
  * @return		error string
  */
-/*@observer@*/ const char *const poptStrerror(const int error)
+/*@observer@*/ const char* poptStrerror(const int error)
 	/*@*/;
 
 /** \ingroup popt

Modified: branches/SAMBA_3_0/source/popt/popthelp.c
===================================================================
--- branches/SAMBA_3_0/source/popt/popthelp.c	2006-05-18 04:05:37 UTC (rev 15678)
+++ branches/SAMBA_3_0/source/popt/popthelp.c	2006-05-18 04:10:52 UTC (rev 15679)
@@ -67,7 +67,7 @@
 /**
  * @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 @@
  * @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)

Modified: trunk/source/popt/popt.c
===================================================================
--- trunk/source/popt/popt.c	2006-05-18 04:05:37 UTC (rev 15678)
+++ trunk/source/popt/popt.c	2006-05-18 04:10:52 UTC (rev 15679)
@@ -1153,7 +1153,7 @@
     /*@=nullderef@*/
 }
 
-const char *const poptStrerror(const int error)
+const char *poptStrerror(const int error)
 {
     switch (error) {
       case POPT_ERROR_NOARG:

Modified: trunk/source/popt/popt.h
===================================================================
--- trunk/source/popt/popt.h	2006-05-18 04:05:37 UTC (rev 15678)
+++ trunk/source/popt/popt.h	2006-05-18 04:10:52 UTC (rev 15679)
@@ -443,7 +443,7 @@
  * @param error		popt error
  * @return		error string
  */
-/*@observer@*/ const char *const poptStrerror(const int error)
+/*@observer@*/ const char* poptStrerror(const int error)
 	/*@*/;
 
 /** \ingroup popt

Modified: trunk/source/popt/popthelp.c
===================================================================
--- trunk/source/popt/popthelp.c	2006-05-18 04:05:37 UTC (rev 15678)
+++ trunk/source/popt/popthelp.c	2006-05-18 04:10:52 UTC (rev 15679)
@@ -67,7 +67,7 @@
 /**
  * @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 @@
  * @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)



More information about the samba-cvs mailing list