foo2.c   [plain text]



__attribute__((weak))
int foo() {
	return 2;
}

void* fooPtr() {
	return &foo;
}