aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-14 00:57:10 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-14 00:57:10 +0000
commit1897bc3f9385320236b7f4d3b8439099e52747c8 (patch)
tree6c414c9ab220a41f991d0d8098d068a593f80299 /sysdeps/posix
parent351f0765c7ff4e73be396a76817802508df1c7c1 (diff)
downloadglibc-1897bc3f9385320236b7f4d3b8439099e52747c8.tar
glibc-1897bc3f9385320236b7f4d3b8439099e52747c8.tar.gz
glibc-1897bc3f9385320236b7f4d3b8439099e52747c8.tar.bz2
glibc-1897bc3f9385320236b7f4d3b8439099e52747c8.zip
Update.
* sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and _sys_nerr_internal with INTVARDEF2. * include/libc-symbols.h (INTVARDEF2): New macro. * include/stdio.h (_sys_errlist_internal): Declare as hidden. (_sys_nerr_internal): Library. * sysdeps/posix/signal.c (_sigintr): Define as hidden. * sysdeps/posix/sigintr.c (_sigintr): Declare as hidden.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/sigintr.c4
-rw-r--r--sysdeps/posix/signal.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/posix/sigintr.c b/sysdeps/posix/sigintr.c
index 8a512ced44..ceac262e51 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 7e74cb376b..9a8efee043 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. */