summaryrefslogtreecommitdiff
path: root/build/rpmbuild.h
diff options
context:
space:
mode:
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r--build/rpmbuild.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index 2f42550fc..798583675 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -363,7 +363,8 @@ int lookupPackage(Spec spec, /*@null@*/ const char * name, int flag,
* @param spec spec file control structure
* @return package control structure
*/
-/*@only@*/ Package newPackage(Spec spec)
+/*@only@*/
+Package newPackage(Spec spec)
/*@modifies spec->packages, spec->packages->next @*/;
/** \ingroup rpmbuild
@@ -371,16 +372,20 @@ int lookupPackage(Spec spec, /*@null@*/ const char * name, int flag,
* @param packages package control structure chain
* @return NULL
*/
-/*@null@*/ Package freePackages(/*@only@*/ /*@null@*/ Package packages)
- /*@modifies packages @*/;
+/*@null@*/
+Package freePackages(/*@only@*/ /*@null@*/ Package packages)
+ /*@globals fileSystem @*/
+ /*@modifies packages, fileSystem @*/;
/** \ingroup rpmbuild
* Destroy package control structure.
* @param pkg package control structure
* @return NULL
*/
-/*@null@*/ Package freePackage(/*@only@*/ /*@null@*/ Package pkg)
- /*@modifies pkg @*/;
+/*@null@*/
+Package freePackage(/*@only@*/ /*@null@*/ Package pkg)
+ /*@globals fileSystem @*/
+ /*@modifies pkg, fileSystem @*/;
/** \ingroup rpmbuild
* Add dependency to header, filtering duplicates.