git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1526b8b
)
Dropped a useless "const" from the definition of poptStrerror.
author
Wayne Davison
<wayned@samba.org>
Sun, 20 Feb 2005 17:21:13 +0000
(17:21 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 20 Feb 2005 17:21:13 +0000
(17:21 +0000)
popt/popt.c
patch
|
blob
|
history
popt/popt.h
patch
|
blob
|
history
diff --git
a/popt/popt.c
b/popt/popt.c
index c389b2ee501650874573e8d0f12f1847ad2f1242..9e0076938165eaabb653cc7e3ca80cbeafb11402 100644
(file)
--- a/
popt/popt.c
+++ b/
popt/popt.c
@@
-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:
diff --git
a/popt/popt.h
b/popt/popt.h
index d4ba4911aad5eddb4e5bf826a5efba5a06b4e6ae..06978f3df6463833fdd818362369ebf626550e60 100644
(file)
--- a/
popt/popt.h
+++ b/
popt/popt.h
@@
-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@*/