summaryrefslogtreecommitdiff
path: root/build/spec.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/spec.c
parent4b67d7621c20e1f2c5aa1ebdf7bb26eb3a6ae0d5 (diff)
downloadlibrpm-tizen-d8dc44f36377c59164d19106f0f93843ea5b3a09.tar.gz
librpm-tizen-d8dc44f36377c59164d19106f0f93843ea5b3a09.tar.bz2
librpm-tizen-d8dc44f36377c59164d19106f0f93843ea5b3a09.zip
lclint fiddles to annotate globals.
CVS patchset: 5106 CVS date: 2001/10/15 03:22:10
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/spec.c b/build/spec.c
index 785304b77..92f115927 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -11,9 +11,6 @@
/*@-redecl@*/
extern int specedit;
/*@=redecl@*/
-/*@-exportheadervar@*/
-extern struct MacroContext_s rpmGlobalMacroContext;
-/*@=exportheadervar@*/
#define SKIPWHITE(_x) {while(*(_x) && (xisspace(*_x) || *(_x) == ',')) (_x)++;}
#define SKIPNONWHITE(_x){while(*(_x) &&!(xisspace(*_x) || *(_x) == ',')) (_x)++;}
@@ -451,7 +448,7 @@ Spec newSpec(void)
spec->force = 0;
spec->anyarch = 0;
- spec->macros = &rpmGlobalMacroContext;
+ spec->macros = rpmGlobalMacroContext;
return spec;
}