summaryrefslogtreecommitdiff
path: root/rpmio/argv.c
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 /rpmio/argv.c
parentf64a1a327bfb443fea6ed766be40547c855d27a0 (diff)
downloadlibrpm-tizen-049674696d7f495ddf4faa4e0327712870f603ab.tar.gz
librpm-tizen-049674696d7f495ddf4faa4e0327712870f603ab.tar.bz2
librpm-tizen-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 'rpmio/argv.c')
-rw-r--r--rpmio/argv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/argv.c b/rpmio/argv.c
index b29468fb0..cc1ec3f67 100644
--- a/rpmio/argv.c
+++ b/rpmio/argv.c
@@ -68,7 +68,7 @@ int argiCount(ARGI_t argi)
return nvals;
}
-const ARGint_t argiData(const ARGI_t argi)
+ARGint_t argiData(const ARGI_t argi)
{
ARGint_t vals = NULL;
if (argi && argi->nvals > 0)
@@ -85,7 +85,7 @@ int argvCount(const ARGV_t argv)
return argc;
}
-const ARGV_t argvData(const ARGV_t argv)
+ARGV_t argvData(const ARGV_t argv)
{
/*@-retalias -temptrans @*/
return argv;