summaryrefslogtreecommitdiff
path: root/build/buildio.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-06-04 13:55:58 +0000
committerjbj <devnull@localhost>2001-06-04 13:55:58 +0000
commit750d54d8a33e67d8f89ed95a785c0f025c833aa8 (patch)
treeb884b1b98864221da1ccc14c5551579cb885be73 /build/buildio.h
parent9e1929c9bb268faad7c8f140161504dbaf7f00f0 (diff)
downloadlibrpm-tizen-750d54d8a33e67d8f89ed95a785c0f025c833aa8.tar.gz
librpm-tizen-750d54d8a33e67d8f89ed95a785c0f025c833aa8.tar.bz2
librpm-tizen-750d54d8a33e67d8f89ed95a785c0f025c833aa8.zip
lclint fiddles.
CVS patchset: 4833 CVS date: 2001/06/04 13:55:58
Diffstat (limited to 'build/buildio.h')
-rw-r--r--build/buildio.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/build/buildio.h b/build/buildio.h
index 4481f46ec..4570b4ce9 100644
--- a/build/buildio.h
+++ b/build/buildio.h
@@ -32,15 +32,17 @@ extern "C" {
* @param csa
* @return 0 on success
*/
-int readRPM(/*@null@*/ const char * fileName, /*@out@*/ Spec * specp,
- /*@out@*/ struct rpmlead * lead, /*@out@*/ Header * sigs,
+/*@unused@*/ int readRPM(/*@null@*/ const char * fileName,
+ /*@out@*/ Spec * specp,
+ /*@out@*/ struct rpmlead * lead,
+ /*@out@*/ Header * sigs,
CSA_t csa)
- /*@modifies *specp, *sigs, csa, csa->cpioFdIn @*/;
+ /*@modifies *specp, *lead, *sigs, csa, csa->cpioFdIn @*/;
/**
* Write rpm package to file.
*
- * @warning The first header argument is now passed by reference in order to
+ * @warning The first argument (header) is now passed by reference in order to
* return a reloaded contiguous header to the caller.
*
* @retval hdrp header to write (final header is returned).
@@ -51,8 +53,11 @@ int readRPM(/*@null@*/ const char * fileName, /*@out@*/ Spec * specp,
* @retval cookie generated cookie (i.e build host/time)
* @return 0 on success
*/
-int writeRPM(Header * hdrp, const char * fileName, int type,
- CSA_t csa, /*@null@*/ char * passPhrase,
+int writeRPM(Header * hdrp,
+ const char * fileName,
+ int type,
+ CSA_t csa,
+ /*@null@*/ char * passPhrase,
/*@out@*/ const char ** cookie)
/*@modifies *hdrp, *cookie, csa, csa->cpioArchiveSize @*/;