* 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.
This commit is contained in:
Roland McGrath 2002-08-05 22:47:19 +00:00
parent 8784cc18e1
commit 4f6da0f5d8
4 changed files with 15 additions and 2 deletions

View File

@ -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,

View File

@ -2,4 +2,7 @@
#include <posix/sys/utsname.h>
extern int __uname (struct utsname *__name);
libc_hidden_proto (uname)
libc_hidden_proto (__uname)
#endif

View File

@ -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)

View File

@ -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)