#endif
.size __longjmp,.-__longjmp
libc_hidden_def(__longjmp)
-
-/* sigprocmask is not defined here, why the weak then ?*/
-/* it should rather be libc_hidden_def(sigprocmask) if needed */
-.weak __sigprocmask
-__sigprocmask = sigprocmask
#include <setjmp.h>
#include <signal.h>
+libc_hidden_proto(sigprocmask)
+
extern int __longjmp(char *env, int val);
libc_hidden_proto(__longjmp)
{
if (env[0].__mask_was_saved)
/* Restore the saved signal mask. */
- (void) __sigprocmask (SIG_SETMASK, &env[0].__saved_mask,
+ (void) sigprocmask (SIG_SETMASK, &env[0].__saved_mask,
(sigset_t *) NULL);
/* Call the machine-dependent function to restore machine state. */