]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update sparc epoll.h from epoll_create2 to epoll_create1
authorMike Frysinger <vapier@gentoo.org>
Wed, 1 Sep 2010 19:45:02 +0000 (12:45 -0700)
committerPetr Baudis <pasky@suse.cz>
Mon, 15 Nov 2010 17:11:53 +0000 (18:11 +0100)
(cherry picked from commit fdc0c10d9b5c39ec20c35d2f3808d3c70cb7f60b)

ChangeLog
sysdeps/unix/sysv/linux/sparc/sys/epoll.h

index d970cf6b4a4809af783ebad0aaeecec2fdf3c7a4..1570ce7528835b767d1d923f69f6a2bf8cb5ac08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -97,6 +97,9 @@
 
 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.
 
 2010-08-31  Andreas Schwab  <schwab@redhat.com>
index cc0ddef69e7bd2fcd6465c51536e9ebfbbfdb7f0..9943f2138316fbe9356bbd348e8583250b2cdd23 100644 (file)
@@ -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.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
 #endif
 
 
-/* Flags to be passed to epoll_create2.  */
+/* Flags to be passed to epoll_create1.  */
 enum
   {
     EPOLL_CLOEXEC = 0x400000,
@@ -101,8 +101,9 @@ __BEGIN_DECLS
    returned by epoll_create() should be closed with close().  */
 extern int epoll_create (int __size) __THROW;
 
-/* Same as epoll_create but with an additional FLAGS parameter.  */
-extern int epoll_create2 (int __size, int __flags) __THROW;
+/* Same as epoll_create but with an FLAGS parameter.  The unused SIZE
+   parameter has been dropped.  */
+extern int epoll_create1 (int __flags) __THROW;
 
 
 /* Manipulate an epoll instance "epfd". Returns 0 in case of success,