From 4f6da0f5d827a462e30634e36161f80026223ba8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 5 Aug 2002 22:47:19 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ include/sys/utsname.h | 3 +++ sysdeps/generic/uname.c | 4 +++- sysdeps/mach/hurd/uname.c | 4 +++- 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3f384d4..b185bfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-08-05 Roland McGrath + + * 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 * include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll, diff --git a/include/sys/utsname.h b/include/sys/utsname.h index 39ca7f5..a6b4ceb 100644 --- a/include/sys/utsname.h +++ b/include/sys/utsname.h @@ -2,4 +2,7 @@ #include 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 0c82de5..e7c4164 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 9ea5f70..8077e14 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) -- 2.7.4