mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update sparc epoll.h from epoll_create2 to epoll_create1
This commit is contained in:
committed by
Ulrich Drepper
parent
e53a31fe57
commit
fdc0c10d9b
@ -1,5 +1,8 @@
|
|||||||
2010-08-31 Mike Frysinger <vapier@gentoo.org>
|
2010-08-31 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
|
||||||
|
(epoll_create1): Declare.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
|
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
|
||||||
|
|
||||||
2010-08-31 Andreas Schwab <schwab@redhat.com>
|
2010-08-31 Andreas Schwab <schwab@redhat.com>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2006, 2007, 2008, 2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Flags to be passed to epoll_create2. */
|
/* Flags to be passed to epoll_create1. */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
EPOLL_CLOEXEC = 0x400000,
|
EPOLL_CLOEXEC = 0x400000,
|
||||||
@ -101,8 +101,9 @@ __BEGIN_DECLS
|
|||||||
returned by epoll_create() should be closed with close(). */
|
returned by epoll_create() should be closed with close(). */
|
||||||
extern int epoll_create (int __size) __THROW;
|
extern int epoll_create (int __size) __THROW;
|
||||||
|
|
||||||
/* Same as epoll_create but with an additional FLAGS parameter. */
|
/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
|
||||||
extern int epoll_create2 (int __size, int __flags) __THROW;
|
parameter has been dropped. */
|
||||||
|
extern int epoll_create1 (int __flags) __THROW;
|
||||||
|
|
||||||
|
|
||||||
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
|
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
|
||||||
|
Reference in New Issue
Block a user