fix static linking dependency bloat with cancellation
[musl] / src / thread / i386 / cancellation2.s
index 6f3f694..beeffb9 100644 (file)
@@ -1,5 +1,6 @@
 .text
 .global __pthread_register_cancel
+.type   __pthread_register_cancel,@function
 __pthread_register_cancel:
        pushl %eax
        call __pthread_register_cancel_3
@@ -7,8 +8,17 @@ __pthread_register_cancel:
        ret
 
 .global __pthread_unregister_cancel
+.type   __pthread_unregister_cancel,@function
 __pthread_unregister_cancel:
        pushl %eax
        call __pthread_unregister_cancel_3
        popl %eax
        ret
+
+.global __pthread_unwind_next
+.type   __pthread_unwind_next,@function
+__pthread_unwind_next:
+       pushl %eax
+       call __pthread_unwind_next_3
+       popl %eax
+       ret