1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Define EPOLLONESHOT and EPOLLET using unsigned values

This commit is contained in:
Ulrich Drepper
2011-12-21 22:14:05 -05:00
parent e3a851a21b
commit 4920765eb4
5 changed files with 16 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2002-2006, 2007, 2008, 2010 Free Software Foundation, Inc.
/* Copyright (C) 2002-2008, 2010, 2011 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
@ -65,9 +65,9 @@ enum EPOLL_EVENTS
#define EPOLLHUP EPOLLHUP
EPOLLRDHUP = 0x2000,
#define EPOLLRDHUP EPOLLRDHUP
EPOLLONESHOT = (1 << 30),
EPOLLONESHOT = 1u << 30,
#define EPOLLONESHOT EPOLLONESHOT
EPOLLET = (1 << 31)
EPOLLET = 1u << 31
#define EPOLLET EPOLLET
};