~vorlon/ubuntu/natty/eglibc/multiarch

« back to all changes in this revision

Viewing changes to debian/patches/sparc/submitted-epoll.diff

  • Committer: Steve Langasek
  • Date: 2011-02-18 21:18:44 UTC
  • mfrom: (103.1.7 eglibc)
  • Revision ID: steve.langasek@linaro.org-20110218211844-lodmi8b1qhyq3f3x
Tags: 2.13~pre1-0ubuntu1+multiarch.1
merge from natty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2010-08-31  Mike Frysinger  <vapier@gentoo.org>
2
 
 
3
 
        * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
4
 
        (epoll_create1): Add.
5
 
---
6
 
 sysdeps/unix/sysv/linux/sparc/sys/epoll.h |    9 +++++----
7
 
 1 files changed, 5 insertions(+), 4 deletions(-)
8
 
 
9
 
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/epoll.h b/sysdeps/unix/sysv/linux/sparc/sys/epoll.h
10
 
index cc0ddef..82a3490 100644
11
 
--- a/sysdeps/unix/sysv/linux/sparc/sys/epoll.h
12
 
+++ b/sysdeps/unix/sysv/linux/sparc/sys/epoll.h
13
 
@@ -1,4 +1,4 @@
14
 
-/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
15
 
+/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
16
 
    This file is part of the GNU C Library.
17
 
 
18
 
    The GNU C Library is free software; you can redistribute it and/or
19
 
@@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
20
 
 #endif
21
 
 
22
 
 
23
 
-/* Flags to be passed to epoll_create2.  */
24
 
+/* Flags to be passed to epoll_create1.  */
25
 
 enum
26
 
   {
27
 
     EPOLL_CLOEXEC = 0x400000,
28
 
@@ -101,8 +101,9 @@ __BEGIN_DECLS
29
 
    returned by epoll_create() should be closed with close().  */
30
 
 extern int epoll_create (int __size) __THROW;
31
 
 
32
 
-/* Same as epoll_create but with an additional FLAGS parameter.  */
33
 
-extern int epoll_create2 (int __size, int __flags) __THROW;
34
 
+/* Same as epoll_create but with an FLAGS parameter.  The unused SIZE
35
 
+   parameter has been dropped.  */
36
 
+extern int epoll_create1 (int __flags) __THROW;
37
 
 
38
 
 
39
 
 /* Manipulate an epoll instance "epfd". Returns 0 in case of success,