summaryrefslogtreecommitdiff
path: root/lib/cpio.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-10 12:15:43 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-10 12:15:43 +0300
commit049674696d7f495ddf4faa4e0327712870f603ab (patch)
tree844214d9c5a83304aae9320fb6f3f58f4f5395ce /lib/cpio.h
parentf64a1a327bfb443fea6ed766be40547c855d27a0 (diff)
downloadrpm-049674696d7f495ddf4faa4e0327712870f603ab.tar.gz
rpm-049674696d7f495ddf4faa4e0327712870f603ab.tar.bz2
rpm-049674696d7f495ddf4faa4e0327712870f603ab.zip
Remove const type-qualifiers from function return types everywhere.
They're meaningless in C and cause tonne of build warnings.
Diffstat (limited to 'lib/cpio.h')
-rw-r--r--lib/cpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpio.h b/lib/cpio.h
index 46c6fdd62..0a683ced6 100644
--- a/lib/cpio.h
+++ b/lib/cpio.h
@@ -132,7 +132,7 @@ int cpioHeaderRead(FSM_t fsm, struct stat * st)
* @param rc error code
* @return formatted error string
*/
-/*@observer@*/ const char *const cpioStrerror(int rc)
+/*@observer@*/ const char * cpioStrerror(int rc)
/*@*/;
#ifdef __cplusplus