From: Mike Frysinger <vapier@gentoo.org>
To: libc-ports@sourceware.org
Subject: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
Date: Tue, 31 Aug 2010 20:09:00 -0000 [thread overview]
Message-ID: <1283285316-18973-2-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <1283285316-18973-1-git-send-email-vapier@gentoo.org>
Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-08-31 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
(epoll_create1): Add.
---
sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
index 9f983a5..9177c31 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2002-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 = 010000000,
@@ -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,
--
1.7.2
next prev parent reply other threads:[~2010-08-31 20:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 20:09 Mike Frysinger
2010-08-31 20:09 ` Mike Frysinger [this message]
2010-08-31 20:12 ` Mike Frysinger
2010-09-29 22:48 ` Mike Frysinger
2011-03-07 20:42 ` Mike Frysinger
2011-09-19 19:03 ` Mike Frysinger
2011-09-19 19:32 ` Roland McGrath
2011-09-21 21:50 ` Matt Turner
2011-09-22 1:40 ` Mike Frysinger
2012-04-27 2:50 ` Matt Turner
2012-04-27 4:07 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283285316-18973-2-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=libc-ports@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).