summaryrefslogtreecommitdiff
path: root/lib/package.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-10-28 17:16:25 +0000
committerjbj <devnull@localhost>2000-10-28 17:16:25 +0000
commit3ad99fcba52fcc5e8ab636d2f1760c945cdfbf19 (patch)
tree1a99ac1cf7e49d8ab1719d50f111d23fafc71470 /lib/package.c
parentb8f90f10cbb592d7ac15dccae503767f262cd719 (diff)
downloadlibrpm-tizen-3ad99fcba52fcc5e8ab636d2f1760c945cdfbf19.tar.gz
librpm-tizen-3ad99fcba52fcc5e8ab636d2f1760c945cdfbf19.tar.bz2
librpm-tizen-3ad99fcba52fcc5e8ab636d2f1760c945cdfbf19.zip
- add cscope/ctags (Rodrigo Barbosa<rodrigob@conectiva.com.br>).
- remove getMacroBody() from rpmio API. - hide libio lossage in prototype, not API. lclint annotations. CVS patchset: 4230 CVS date: 2000/10/28 17:16:25
Diffstat (limited to 'lib/package.c')
-rw-r--r--lib/package.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/package.c b/lib/package.c
index e4702df28..c7f03308f 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -19,6 +19,8 @@
#include "rpmlead.h"
#include "signature.h"
+/*@access Header@*/ /* XXX compared with NULL */
+
/**
* Retrieve package components from file handle.
* @param fd file handle
@@ -27,9 +29,9 @@
* @param hdrPtr address of header (or NULL)
* @return 0 on success, 1 on bad magic, 2 on error
*/
-static int readPackageHeaders(FD_t fd, /*@out@*/struct rpmlead * leadPtr,
- /*@out@*/Header * sigs, /*@out@*/Header * hdrPtr)
- /*@modifies *leadPtr, *sigs, *hdrPtr @*/
+static int readPackageHeaders(FD_t fd, /*@out@*/ struct rpmlead * leadPtr,
+ /*@out@*/ Header * sigs, /*@out@*/ Header *hdrPtr)
+ /*@modifies fd, *leadPtr, *sigs, *hdrPtr @*/
{
Header hdrBlock;
struct rpmlead leadBlock;