From c9f588eab43e5c635fa30cd273242e4f83bd66c8 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 20 Dec 2000 20:54:30 +0000 Subject: [PATCH] fix nested extern --- lib/libc/gen/siginterrupt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/siginterrupt.c b/lib/libc/gen/siginterrupt.c index d8ce47d01fa6..0a1bae35f30b 100644 --- a/lib/libc/gen/siginterrupt.c +++ b/lib/libc/gen/siginterrupt.c @@ -1,4 +1,4 @@ -/* $NetBSD: siginterrupt.c,v 1.10 2000/01/22 22:19:12 mycroft Exp $ */ +/* $NetBSD: siginterrupt.c,v 1.11 2000/12/20 20:54:30 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)siginterrupt.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: siginterrupt.c,v 1.10 2000/01/22 22:19:12 mycroft Exp $"); +__RCSID("$NetBSD: siginterrupt.c,v 1.11 2000/12/20 20:54:30 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -49,6 +49,7 @@ __RCSID("$NetBSD: siginterrupt.c,v 1.10 2000/01/22 22:19:12 mycroft Exp $"); __weak_alias(siginterrupt,_siginterrupt) #endif +extern sigset_t __sigintr; /* * Set signal state to prevent restart of system calls * after an instance of the indicated signal. @@ -57,7 +58,6 @@ int siginterrupt(sig, flag) int sig, flag; { - extern sigset_t __sigintr; struct sigaction sa; int ret;