summary refs log tree commit diff
path: root/sysdeps
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 /sysdeps
parent8784cc18e1a30b445f5554237378001d8e8be11c (diff)
downloadglibc-4f6da0f5d827a462e30634e36161f80026223ba8.tar.gz
glibc-4f6da0f5d827a462e30634e36161f80026223ba8.tar.xz
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/uname.c4
-rw-r--r--sysdeps/mach/hurd/uname.c4
2 files changed, 6 insertions, 2 deletions
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)