From d8dc44f36377c59164d19106f0f93843ea5b3a09 Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 15 Oct 2001 03:22:10 +0000 Subject: lclint fiddles to annotate globals. CVS patchset: 5106 CVS date: 2001/10/15 03:22:10 --- build/spec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build/spec.c') 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; } -- cgit v1.2.3