]> granicus.if.org Git - gc/commit
Adjust 'pthread_[un]register_cancel undefined ref' workaround (Pthreads)
authorIvan Maidanski <ivmai@mail.ru>
Sun, 15 Sep 2013 11:04:35 +0000 (15:04 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 15 Sep 2013 11:17:36 +0000 (15:17 +0400)
commita9b7a778ed00c93c0efc328f2ecfad726b29dfbd
tree382f27573417efefe090577e3ef7f0b23b90cf49
parenta6ee769034470f41f6f7573127a37e0e58e2bb70
Adjust 'pthread_[un]register_cancel undefined ref' workaround (Pthreads)

* misc.c (__pthread_register_cancel, __pthread_unregister_cancel):
Move prototypes to pthread_support.c.
* pthread_support.c (__pthread_unregister_cancel,
__pthread_unregister_cancel): Declare only if
PTHREAD_REGISTER_CANCEL_WEAK_STUBS defined.
misc.c
pthread_support.c