Sync with HEAD.
[dragonfly.git] / lib / libpthread / dummy.c
blob9f9d8bdb2acf8e94a3f56d84656d898a17951212
1 /* $DragonFly: src/lib/libpthread/dummy.c,v 1.1 2007/04/17 12:34:07 corecode Exp $ */
3 #include <stdio.h>
4 #include <stdlib.h>
6 static void __attribute__((__used__))
7 dummy_pthread_create(void)
9 fprintf(stderr, "libpthread.so: dummy weak symbol executed\n");
10 abort();
13 __weak_reference(dummy_pthread_create, pthread_create);