libc - correct pthread_once stub
authorAlex Hornung <ahornung@gmail.com>
Sun, 4 Jul 2010 22:37:18 +0000 (23:37 +0100)
committerAlex Hornung <ahornung@gmail.com>
Thu, 8 Jul 2010 18:52:35 +0000 (19:52 +0100)
commit6692f0a1ead866b92a8a7f32d1af646c760f0b11
tree3b59fa5ea87b358b4d31322de0af5a9204f55a88
parentac2c8895a1f9bb9dcbf34e5847a2085c4383d19b
libc - correct pthread_once stub

* Make the pthread_once stub in libc work correctly.

* This fixes an issue with pthread_once not being called even once in
  libprop for programs not linked against lpthread.

Suggested-by: Simon 'corecode' Schubert
Obtained-from: NetBSD
lib/libc/gen/_pthread_stubs.c