This will catch any new extern declarations that happen actually
inside function bodies. Unfortunately there's no equivalent
warning for extern declarations at rootl level in .c files.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
CFLAGS += -msoft-float
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
+$(call cc-option-add,CFLAGS,CC,-Wnested-externs)
ifeq ($(supervisor_mode_kernel),y)
CFLAGS += -DCONFIG_X86_SUPERVISOR_MODE_KERNEL=1