summaryrefslogtreecommitdiff
path: root/lib/poptI.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-10-16 17:42:18 +0000
committerjbj <devnull@localhost>2001-10-16 17:42:18 +0000
commit96a3f7a55d444296f97c3e28c8d810e220e1cb9f (patch)
tree01eb83731cd7193dda21a7ab3d8e741c41c0914f /lib/poptI.c
parent9f45bcd3ecf3f3548ed7a8490b882a6ca9ffeb94 (diff)
downloadrpm-96a3f7a55d444296f97c3e28c8d810e220e1cb9f.tar.gz
rpm-96a3f7a55d444296f97c3e28c8d810e220e1cb9f.tar.bz2
rpm-96a3f7a55d444296f97c3e28c8d810e220e1cb9f.zip
Factor -type problems into explicit code annotations.
CVS patchset: 5117 CVS date: 2001/10/16 17:42:18
Diffstat (limited to 'lib/poptI.c')
-rw-r--r--lib/poptI.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/poptI.c b/lib/poptI.c
index 8d99f1dbf..69c901882 100644
--- a/lib/poptI.c
+++ b/lib/poptI.c
@@ -87,11 +87,13 @@ static void installArgCallback( /*@unused@*/ poptContext con,
/**
*/
-/*@-bitwisesigned -compmempass@*/
+/*@-bitwisesigned -compmempass @*/
/*@unchecked@*/
struct poptOption rpmInstallPoptTable[] = {
+/*@-type@*/ /* FIX: cast? */
{ NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA,
installArgCallback, 0, NULL, NULL },
+/*@=type@*/
{ "allfiles", '\0', POPT_BIT_SET,
&rpmIArgs.transFlags, RPMTRANS_FLAG_ALLFILES,
@@ -220,4 +222,4 @@ struct poptOption rpmInstallPoptTable[] = {
POPT_TABLEEND
};
-/*@=bitwisesigned =compmempass@*/
+/*@=bitwisesigned =compmempass @*/