summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-10-15 03:22:10 +0000
committerjbj <devnull@localhost>2001-10-15 03:22:10 +0000
commitd8dc44f36377c59164d19106f0f93843ea5b3a09 (patch)
tree8f521d9b295dd0e9d05721cfd97f3d8a5b30801d /build.c
parent4b67d7621c20e1f2c5aa1ebdf7bb26eb3a6ae0d5 (diff)
downloadrpm-d8dc44f36377c59164d19106f0f93843ea5b3a09.tar.gz
rpm-d8dc44f36377c59164d19106f0f93843ea5b3a09.tar.bz2
rpm-d8dc44f36377c59164d19106f0f93843ea5b3a09.zip
lclint fiddles to annotate globals.
CVS patchset: 5106 CVS date: 2001/10/15 03:22:10
Diffstat (limited to 'build.c')
-rw-r--r--build.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.c b/build.c
index a78a3aab5..b682c5333 100644
--- a/build.c
+++ b/build.c
@@ -17,6 +17,7 @@
/**
*/
static int checkSpec(Header h)
+ /*@globals rpmGlobalMacroContext, fileSystem @*/
/*@modifies h, fileSystem @*/
{
const char * rootdir = NULL;
@@ -64,6 +65,7 @@ static int checkSpec(Header h)
/**
*/
static int isSpecFile(const char * specfile)
+ /*@globals fileSystem @*/
/*@modifies fileSystem @*/
{
char buf[256];
@@ -103,7 +105,9 @@ static int isSpecFile(const char * specfile)
*/
static int buildForTarget(const char * arg, BTA_t ba,
const char * passPhrase, char * cookie)
- /*@modifies fileSystem @*/
+ /*@globals rpmGlobalMacroContext,
+ fileSystem, internalState @*/
+ /*@modifies fileSystem, internalState @*/
{
int buildAmount = ba->buildAmount;
const char * buildRootURL = NULL;