projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0447b8d
)
fix wrong type for poll.h nfds_t
author
Rich Felker
<dalias@aerifal.cx>
Sat, 1 Sep 2012 04:20:24 +0000
(
00:20
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 1 Sep 2012 04:20:24 +0000
(
00:20
-0400)
this should not break anything since the type should never be used
except as the argument type for poll.
include/poll.h
patch
|
blob
|
history
diff --git
a/include/poll.h
b/include/poll.h
index
f868ab5
..
36ef7fe
100644
(file)
--- a/
include/poll.h
+++ b/
include/poll.h
@@
-17,7
+17,7
@@
extern "C" {
#define POLLWRBAND 0x200
#define POLLMSG 0x400
#define POLLWRBAND 0x200
#define POLLMSG 0x400
-typedef unsigned
int
nfds_t;
+typedef unsigned
long
nfds_t;
struct pollfd
{
struct pollfd
{