[tile] Mark epoll_pwait as hidden
Joseph S. Myers
joseph@codesourcery.com
Thu Jan 26 00:33:00 GMT 2012
On Wed, 25 Jan 2012, Chris Metcalf wrote:
> diff --git a/sysdeps/unix/sysv/linux/epoll_pwait.c b/sysdeps/unix/sysv/linux/epoll_pwait.c
> index e689073..9f72d18 100644
> --- a/sysdeps/unix/sysv/linux/epoll_pwait.c
> +++ b/sysdeps/unix/sysv/linux/epoll_pwait.c
> @@ -1,4 +1,4 @@
> -/* Copyright (C) 2007 Free Software Foundation, Inc.
> +/* Copyright (C) 2007, 2011 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
> @@ -24,6 +24,8 @@
> #include <sysdep-cancel.h>
> #include <sys/syscall.h>
>
> +libc_hidden_proto (epoll_pwait)
Typically this would go in a header rather than being duplicated both in
the file defining the function and the file using it. That is, you'd have
include/sys/epoll.h, like include/sys/prctl.h, that includes the main
header with #include_next and then has the libc_hidden_proto.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list