diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/sys/utsname.h | 3 | ||||
-rw-r--r-- | sysdeps/generic/uname.c | 4 | ||||
-rw-r--r-- | sysdeps/mach/hurd/uname.c | 4 |
4 files changed, 15 insertions, 2 deletions
@@ -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) |