diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmfi.h | 2 | ||||
-rw-r--r-- | lib/rpmts.c | 4 | ||||
-rw-r--r-- | lib/rpmts.h | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/lib/rpmfi.h b/lib/rpmfi.h index 2ac8924ce..26e8da2e3 100644 --- a/lib/rpmfi.h +++ b/lib/rpmfi.h @@ -51,7 +51,7 @@ struct rpmfi_s { /*@only@*/ /*@null@*/ const char ** flangs; /*!< File lang(s) (from header) */ -/*@only@*/ /*?null?*/ +/*@only@*/ /*@relnull@*/ uint_32 * dil; /*!< Directory indice(s) (from header) */ /*@only@*/ /*?null?*/ const uint_32 * fflags; /*!< File flag(s) (from header) */ diff --git a/lib/rpmts.c b/lib/rpmts.c index 38606e018..b39b078ff 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -1103,13 +1103,17 @@ rpmtransFlags rpmtsSetFlags(rpmts ts, rpmtransFlags transFlags) Spec rpmtsSpec(rpmts ts) { +/*@-compdef -retexpose -usereleased@*/ return ts->spec; +/*@=compdef =retexpose =usereleased@*/ } Spec rpmtsSetSpec(rpmts ts, Spec spec) { Spec ospec = ts->spec; +/*@-assignexpose -temptrans@*/ ts->spec = spec; +/*@=assignexpose =temptrans@*/ return ospec; } diff --git a/lib/rpmts.h b/lib/rpmts.h index ddcd6a4e1..712769e2a 100644 --- a/lib/rpmts.h +++ b/lib/rpmts.h @@ -741,6 +741,7 @@ rpmtransFlags rpmtsSetFlags(rpmts ts, rpmtransFlags transFlags) * @param ts transaction set * @return spec control structure */ +/*@null@*/ Spec rpmtsSpec(rpmts ts) /*@*/; @@ -750,6 +751,7 @@ Spec rpmtsSpec(rpmts ts) * @param spec new spec control structure * @return previous spec control structure */ +/*@null@*/ Spec rpmtsSetSpec(rpmts ts, /*@null@*/ Spec spec) /*@modifies ts @*/; |