restore use of .type in asm, but use modern @function (vs %function)
[musl] / src / thread / i386 / cancellation2.s
1 .text
2 .global __pthread_register_cancel
3 .type   __pthread_register_cancel,@function
4 __pthread_register_cancel:
5         pushl %eax
6         call __pthread_register_cancel_3
7         popl %eax
8         ret
9
10 .global __pthread_unregister_cancel
11 .type   __pthread_unregister_cancel,@function
12 __pthread_unregister_cancel:
13         pushl %eax
14         call __pthread_unregister_cancel_3
15         popl %eax
16         ret