about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/signal/sigsetjmp.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/signal/sigsetjmp.c b/src/signal/sigsetjmp.c
index 1bbe1a0b..e69de29b 100644
--- a/src/signal/sigsetjmp.c
+++ b/src/signal/sigsetjmp.c
@@ -1,17 +0,0 @@
-#include <setjmp.h>
-#include <signal.h>
-#include "libc.h"
-
-/* !!! This function will not work unless the compiler performs
- * tail call optimization. Machine-specific asm versions should
- * be created instead even though the workaround (tail call)
- * is entirely non-machine-specific... */
-
-int sigsetjmp(sigjmp_buf buf, int save)
-{
-	if ((buf->__fl = save))
-		pthread_sigmask(SIG_SETMASK, 0, (sigset_t *)buf->__ss);
-	return setjmp(buf);
-}
-
-weak_alias(sigsetjmp, __sigsetjmp);