ao-load: Make ao_sym static to avoid collision with ao-editaltos
authorKeith Packard <keithp@keithp.com>
Thu, 1 May 2014 05:12:30 +0000 (22:12 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 1 May 2014 05:12:30 +0000 (22:12 -0700)
ao-load doesn't use ao-editaltos at this point, but does share the
same name for the symbol table. To make the linker happier, make the
ao-load version static.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/ao-load/ao-load.c

index c1f551499ceac969b76072f417bb3f66f49e3e31..0cf03772073c5a503ea5e8364547b42e143e8115 100644 (file)
@@ -26,7 +26,7 @@
 
 #define AO_USB_DESC_STRING             3
 
 
 #define AO_USB_DESC_STRING             3
 
-struct sym {
+static struct sym {
        unsigned        addr;
        char            *name;
        int             required;
        unsigned        addr;
        char            *name;
        int             required;