foo1.c   [plain text]



__attribute__((weak))
int foo = 1;

void* fooPtr() {
	return &foo;
}