Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.

(aarch64 kernels don't have these system calls.)

Change-Id: I6f64075aa412f71520f2df71c3d69b647f91c1ca
This commit is contained in:
Elliott Hughes
2013-10-24 15:15:14 -07:00
parent cdac5f73ac
commit 11952073af
53 changed files with 569 additions and 455 deletions

View File

@@ -25,18 +25,21 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _POLL_H_
#define _POLL_H_
#include <sys/cdefs.h>
#include <linux/poll.h>
#include <signal.h> /* For sigset_t. */
#include <time.h> /* For timespec. */
__BEGIN_DECLS
typedef unsigned int nfds_t;
typedef unsigned int nfds_t;
/* POSIX specifies "int" for the timeout, Linux seems to use long... */
extern int poll(struct pollfd *, nfds_t, long);
extern int poll(struct pollfd*, nfds_t, int);
extern int ppoll(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*);
__END_DECLS