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