about summary refs log tree commit diff
path: root/include
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 /include
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 'include')
-rw-r--r--include/libc-symbols.h4
-rw-r--r--include/stdio.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 07badec802..3367c39e09 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -361,16 +361,18 @@
 # define INTUSE(name) name##_internal
 # define INTDEF(name) strong_alias (name, name##_internal)
 # define INTVARDEF(name) \
-  _INTVARDEF(name, name##_internal)
+  _INTVARDEF (name, name##_internal)
 # define _INTVARDEF(name, aliasname) \
   extern __typeof (name) aliasname __attribute__ ((alias (#name), \
 						   visibility ("hidden")));
 # define INTDEF2(name, newname) strong_alias (name, newname##_internal)
+# define INTVARDEF2(name, newname) _INTVARDEF (name, newname##_internal)
 #else
 # define INTUSE(name) name
 # define INTDEF(name)
 # define INTVARDEF(name)
 # define INTDEF2(name, newname)
+# define INTVARDEF2(name, newname)
 #endif
 
 #endif /* libc-symbols.h */
diff --git a/include/stdio.h b/include/stdio.h
index 32547b9893..a72d1d741a 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -74,8 +74,8 @@ extern wint_t __getwc_unlocked (FILE *__fp);
 #  endif
 
 
-extern __const char *__const _sys_errlist_internal[];
-extern int _sys_nerr_internal;
+extern __const char *__const _sys_errlist_internal[] attribute_hidden;
+extern int _sys_nerr_internal attribute_hidden;
 
 # endif