Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen fix nested extern



details:   https://anonhg.NetBSD.org/src/rev/da8cfe95f4f7
branches:  trunk
changeset: 500929:da8cfe95f4f7
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 20 20:54:30 2000 +0000

description:
fix nested extern

diffstat:

 lib/libc/gen/siginterrupt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 96b87cbdd904 -r da8cfe95f4f7 lib/libc/gen/siginterrupt.c
--- a/lib/libc/gen/siginterrupt.c       Wed Dec 20 20:54:01 2000 +0000
+++ b/lib/libc/gen/siginterrupt.c       Wed Dec 20 20:54:30 2000 +0000
@@ -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 @@
 __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 @@
 siginterrupt(sig, flag)
        int sig, flag;
 {
-       extern sigset_t __sigintr;
        struct sigaction sa;
        int ret;
 



Home | Main Index | Thread Index | Old Index