4 static void __attribute__((__used__
))
5 dummy_pthread_create(void)
7 fprintf(stderr
, "libpthread.so: dummy weak symbol executed\n");
11 __weak_reference(dummy_pthread_create
, pthread_create
);
13 static void __attribute__((__used__
))
14 dummy_pthread_cancel(void)
16 fprintf(stderr
, "libpthread.so: dummy weak symbol executed\n");
20 __weak_reference(dummy_pthread_cancel
, pthread_cancel
);