diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/if_index.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/setgroups.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/waitpid.c | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/sysdeps/generic/if_index.c b/sysdeps/generic/if_index.c index ffbe472e9c..f217f37642 100644 --- a/sysdeps/generic/if_index.c +++ b/sysdeps/generic/if_index.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997,98,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1997,98,99,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 @@ -26,6 +26,7 @@ if_nametoindex (const char *ifname) __set_errno (ENOSYS); return 0; } +libc_hidden_def (if_nametoindex) stub_warning (if_nametoindex) char * @@ -34,6 +35,7 @@ if_indextoname (unsigned int ifindex, char *ifname) __set_errno (ENOSYS); return NULL; } +libc_hidden_def (if_indextoname) stub_warning (if_indextoname) void diff --git a/sysdeps/generic/setgroups.c b/sysdeps/generic/setgroups.c index 2d1aff42b8..74bae72974 100644 --- a/sysdeps/generic/setgroups.c +++ b/sysdeps/generic/setgroups.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,2002 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 @@ -29,7 +29,7 @@ setgroups (n, groups) __set_errno (ENOSYS); return -1; } - +libc_hidden_def (setgroups) stub_warning (setgroups) #include <stub-tag.h> diff --git a/sysdeps/generic/waitpid.c b/sysdeps/generic/waitpid.c index d0e00467cc..9c7736e669 100644 --- a/sysdeps/generic/waitpid.c +++ b/sysdeps/generic/waitpid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,2002 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 @@ -46,6 +46,7 @@ __libc_waitpid (pid_t pid, int *stat_loc, int options) return (pid_t) -1; } weak_alias (__libc_waitpid, __waitpid) +libc_hidden_weak (__waitpid) weak_alias (__libc_waitpid, waitpid) stub_warning (waitpid) |