Skip to content

Commit

Permalink
hppa: epoll.h: move to common sys/epoll.h
Browse files Browse the repository at this point in the history
Use the common sys/epoll.h to avoid duplication and move the arch-specific
settings into bits/epoll.h.
  • Loading branch information
Mike Frysinger committed Aug 18, 2015
1 parent d5a77fc commit 44e01f0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 143 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-08-18 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
* sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.

2015-08-18 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
Expand Down
27 changes: 27 additions & 0 deletions sysdeps/unix/sysv/linux/hppa/bits/epoll.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Copyright (C) 2002-2015 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
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */

#ifndef _SYS_EPOLL_H
# error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead."
#endif

/* Flags to be passed to epoll_create1. */
enum
{
EPOLL_CLOEXEC = 010000000
#define EPOLL_CLOEXEC EPOLL_CLOEXEC
};
143 changes: 0 additions & 143 deletions sysdeps/unix/sysv/linux/hppa/sys/epoll.h

This file was deleted.

0 comments on commit 44e01f0

Please sign in to comment.