aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-05 22:47:19 +0000
committerRoland McGrath <roland@gnu.org>2002-08-05 22:47:19 +0000
commit4f6da0f5d827a462e30634e36161f80026223ba8 (patch)
treeac2fcf00833cfa1bf582a949f40adf42d9b7cd32
parent8784cc18e1a30b445f5554237378001d8e8be11c (diff)
downloadglibc-4f6da0f5d827a462e30634e36161f80026223ba8.tar
glibc-4f6da0f5d827a462e30634e36161f80026223ba8.tar.gz
glibc-4f6da0f5d827a462e30634e36161f80026223ba8.tar.bz2
glibc-4f6da0f5d827a462e30634e36161f80026223ba8.zip
* include/sys/utsname.h: Use libc_hidden_proto for uname, __uname.
* sysdeps/generic/uname.c: Add libc_hidden_def. * sysdeps/mach/hurd/uname.c: Likewise.
-rw-r--r--ChangeLog6
-rw-r--r--include/sys/utsname.h3
-rw-r--r--sysdeps/generic/uname.c4
-rw-r--r--sysdeps/mach/hurd/uname.c4
4 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f384d4c65..b185bfad98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-05 Roland McGrath <roland@redhat.com>
+
+ * include/sys/utsname.h: Use libc_hidden_proto for uname, __uname.
+ * sysdeps/generic/uname.c: Add libc_hidden_def.
+ * sysdeps/mach/hurd/uname.c: Likewise.
+
2002-08-05 Jakub Jelinek <jakub@redhat.com>
* include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll,
diff --git a/include/sys/utsname.h b/include/sys/utsname.h
index 39ca7f5740..a6b4ceb97e 100644
--- a/include/sys/utsname.h
+++ b/include/sys/utsname.h
@@ -2,4 +2,7 @@
#include <posix/sys/utsname.h>
extern int __uname (struct utsname *__name);
+
+libc_hidden_proto (uname)
+libc_hidden_proto (__uname)
#endif
diff --git a/sysdeps/generic/uname.c b/sysdeps/generic/uname.c
index 0c82de5020..e7c41648ed 100644
--- a/sysdeps/generic/uname.c
+++ b/sysdeps/generic/uname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,96,97,2000,02 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
@@ -62,3 +62,5 @@ __uname (name)
return 0;
}
weak_alias (__uname, uname)
+libc_hidden_def (__uname)
+libc_hidden_def (uname)
diff --git a/sysdeps/mach/hurd/uname.c b/sysdeps/mach/hurd/uname.c
index 9ea5f7098e..8077e14979 100644
--- a/sysdeps/mach/hurd/uname.c
+++ b/sysdeps/mach/hurd/uname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,1993,1994,1996,1997,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,93,94,96,97,2000,02 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
@@ -44,3 +44,5 @@ __uname (struct utsname *uname)
return 0;
}
weak_alias (__uname, uname)
+libc_hidden_def (__uname)
+libc_hidden_def (uname)