summaryrefslogtreecommitdiff
path: root/build/rpmfc.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-04-07 12:11:16 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-04-07 12:19:58 +0300
commitc29adcee80825d79e7b522ee651360d1b9542539 (patch)
treed9bed24a002962b62e511ea2fa93c6040cf3a657 /build/rpmfc.h
parentd728ec28dcb51a139859e4fed48da894a8363a51 (diff)
downloadrpm-c29adcee80825d79e7b522ee651360d1b9542539.tar.gz
rpm-c29adcee80825d79e7b522ee651360d1b9542539.tar.bz2
rpm-c29adcee80825d79e7b522ee651360d1b9542539.zip
ARGV_t const pendantry
- const on typedef'ed ARGV_t doesn't mean a thing, add a new, (exec* compatible) ARGV_const_t and use where appropriate consistently in argv.h, rpmcli.h etc - popt's argv const is the wrong way around for exec() family, add explicit ARGV_t casts on popGetArgs() uses where needed - compiler silence, aaahh...
Diffstat (limited to 'build/rpmfc.h')
-rw-r--r--build/rpmfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rpmfc.h b/build/rpmfc.h
index 3af976902..84808a3c3 100644
--- a/build/rpmfc.h
+++ b/build/rpmfc.h
@@ -86,7 +86,7 @@ typedef const struct rpmfcTokens_s * rpmfcToken;
* @retval *sb_stdoutp helper output
* @param failnonzero IS non-zero helper exit status a failure?
*/
-int rpmfcExec(ARGV_t av, StringBuf sb_stdin, StringBuf * sb_stdoutp,
+int rpmfcExec(ARGV_const_t av, StringBuf sb_stdin, StringBuf * sb_stdoutp,
int failnonzero);
/** \ingroup rpmfc