]> 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:13:16 +0000 (15:13 +0400)
commitc2a8fdc74649b9010b5e1fd4609fa60e2ed6c0ff
tree723cd27cf57335467dfd89d7b57b23e2cb40178d
parentf70b221ca6c78240c5e729b78d35fd659050e872
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