diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-03-10 09:27:04 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-03-10 09:27:20 -0800 |
commit | 6253bacdc00de132dec452ff7c6ce3ba7fa23d81 (patch) | |
tree | 30b25d5aa1c776b157606e5389fcc566e16fd9f0 /include | |
parent | 229855e5983881812b21b215346cb990722c6023 (diff) | |
download | glibc-6253bacdc00de132dec452ff7c6ce3ba7fa23d81.tar.gz glibc-6253bacdc00de132dec452ff7c6ce3ba7fa23d81.tar.xz glibc-6253bacdc00de132dec452ff7c6ce3ba7fa23d81.zip |
Remove hidden __libc_longjmp
Since __libc_longjmp is a private interface for cancellation implementation in libpthread, there is no need to provide hidden __libc_longjmp in libc. Tested with build-many-glibcs.py. * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto. * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def. * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp): Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/setjmp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/setjmp.h b/include/setjmp.h index f1b19f5ceb..263bc64b3d 100644 --- a/include/setjmp.h +++ b/include/setjmp.h @@ -23,7 +23,6 @@ extern void __libc_siglongjmp (sigjmp_buf env, int val) __attribute__ ((noreturn)); extern void __libc_longjmp (sigjmp_buf env, int val) __attribute__ ((noreturn)); -libc_hidden_proto (__libc_longjmp) libc_hidden_proto (_setjmp) libc_hidden_proto (__sigsetjmp) |