about summary refs log tree commit diff
path: root/sysdeps/gnu
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/gnu
parent351f0765c7ff4e73be396a76817802508df1c7c1 (diff)
downloadglibc-1897bc3f9385320236b7f4d3b8439099e52747c8.tar.gz
glibc-1897bc3f9385320236b7f4d3b8439099e52747c8.tar.xz
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/gnu')
-rw-r--r--sysdeps/gnu/errlist.awk6
-rw-r--r--sysdeps/gnu/errlist.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk
index 07d00c4140..317dc44930 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 65b36dd8ae..eec91c757f 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)