2014-03-19 17:25:32 +01:00

10 lines
117 B
C

extern int foo;
extern int foo2;
static void
__attribute__ ((unused, constructor))
set_foo (void)
{
foo = foo2;
}