aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/gnu/errlist.awk6
-rw-r--r--sysdeps/gnu/errlist.c4
-rw-r--r--sysdeps/posix/sigintr.c4
-rw-r--r--sysdeps/posix/signal.c4
4 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk
index 07d00c4..317dc44 100644
--- a/sysdeps/gnu/errlist.awk
+++ b/sysdeps/gnu/errlist.awk
@@ -1,4 +1,4 @@
-# Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
+# Copyright (C) 1991-1999, 2002 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -106,6 +106,6 @@ END {
print "#ifdef SYS_NERR_ALIAS";
print "weak_alias (_sys_nerr, SYS_NERR_ALIAS)";
print "#endif";
- print "INTDEF2(SYS_ERRLIST, _sys_errlist)";
- print "INTDEF2(SYS_NERR, _sys_nerr)";
+ print "INTVARDEF2(SYS_ERRLIST, _sys_errlist)";
+ print "INTVARDEF2(SYS_NERR, _sys_nerr)";
}
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c
index 65b36dd..eec91c7 100644
--- a/sysdeps/gnu/errlist.c
+++ b/sysdeps/gnu/errlist.c
@@ -845,5 +845,5 @@ weak_alias (_sys_errlist, SYS_ERRLIST_ALIAS)
#ifdef SYS_NERR_ALIAS
weak_alias (_sys_nerr, SYS_NERR_ALIAS)
#endif
-INTDEF2(SYS_ERRLIST, _sys_errlist)
-INTDEF2(SYS_NERR, _sys_nerr)
+INTVARDEF2(SYS_ERRLIST, _sys_errlist)
+INTVARDEF2(SYS_NERR, _sys_nerr)
diff --git a/sysdeps/posix/sigintr.c b/sysdeps/posix/sigintr.c
index 8a512ce..ceac262 100644
--- a/sysdeps/posix/sigintr.c
+++ b/sysdeps/posix/sigintr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1996, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@ siginterrupt (sig, interrupt)
int interrupt;
{
#ifdef SA_RESTART
- extern sigset_t _sigintr; /* Defined in signal.c. */
+ extern sigset_t _sigintr attribute_hidden; /* Defined in signal.c. */
struct sigaction action;
if (__sigaction (sig, (struct sigaction *) NULL, &action) < 0)
diff --git a/sysdeps/posix/signal.c b/sysdeps/posix/signal.c
index 7e74cb3..9a8efee 100644
--- a/sysdeps/posix/signal.c
+++ b/sysdeps/posix/signal.c
@@ -1,5 +1,5 @@
/* BSD-like signal function.
- Copyright (C) 1991, 1992, 1996, 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991,1992,1996,1997,2000,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include <signal.h>
-sigset_t _sigintr; /* Set by siginterrupt. */
+sigset_t _sigintr attribute_hidden; /* Set by siginterrupt. */
/* Set the handler for the signal SIG to HANDLER,
returning the old handler, or SIG_ERR on error. */