Fix global variables without declarations
commit9c595b6bb40487da41068bef43e0526a1f07f618
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Mar 2017 03:44:21 +0000 (7 19:44 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Mar 2017 03:44:21 +0000 (7 19:44 -0800)
treebcb8bdd4f42eb79bb0cebc7a0efeab2ba41673c6
parente28d5ea5d77c0f267b97fc54d0f40bf59fd5a202
Fix global variables without declarations

Global variables need to be declared in a header file; "extern" in C
files should be used extremely rarely (it is OK at least for now for
macro tables as they are generally only ever used in one specific
location, but otherwise, no.)

In a few cases the global variables were actually function-local!

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
asm/labels.c
asm/nasm.c
include/labels.h