summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
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;
}