X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-auto-import%2Fdll.c;fp=ld%2Ftestsuite%2Fld-auto-import%2Fdll.c;h=ccf85e4f5779af96ea2a97e460c9c8e6be9ca225;hp=5da2ac8cc4afd97129c7309837138c0cecff35ad;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-auto-import/dll.c b/ld/testsuite/ld-auto-import/dll.c index 5da2ac8..ccf85e4 100644 --- a/ld/testsuite/ld-auto-import/dll.c +++ b/ld/testsuite/ld-auto-import/dll.c @@ -1,20 +1,20 @@ -int var = 123; -int foo = 121; - -int var2[2]= { 123, 456 }; - -#include - -void -print_var (void) -{ - printf ("DLL sees var = %d\n", var); -} - -void -print_foo (void) -{ - printf ("DLL sees foo = %d\n", foo); -} - -void (* func_ptr)(void) = print_foo; +int var = 123; +int foo = 121; + +int var2[2]= { 123, 456 }; + +#include + +void +print_var (void) +{ + printf ("DLL sees var = %d\n", var); +} + +void +print_foo (void) +{ + printf ("DLL sees foo = %d\n", foo); +} + +void (* func_ptr)(void) = print_foo;