Skip to content

Commit ff0e616

Browse files
hyperc4mtgross35
authored andcommitted
horizon: Change POLL constants from c_short to c_int
1 parent e5880b8 commit ff0e616

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/unix/newlib/horizon/mod.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,16 @@ pub const SOL_CONFIG: c_uint = 65534;
150150
pub const PTHREAD_STACK_MIN: size_t = 4096;
151151
pub const WNOHANG: c_int = 1;
152152

153-
pub const POLLIN: c_short = 0x0001;
154-
pub const POLLPRI: c_short = 0x0002;
155-
pub const POLLOUT: c_short = 0x0004;
156-
pub const POLLRDNORM: c_short = 0x0040;
157-
pub const POLLWRNORM: c_short = POLLOUT;
158-
pub const POLLRDBAND: c_short = 0x0080;
159-
pub const POLLWRBAND: c_short = 0x0100;
160-
pub const POLLERR: c_short = 0x0008;
161-
pub const POLLHUP: c_short = 0x0010;
162-
pub const POLLNVAL: c_short = 0x0020;
153+
pub const POLLIN: c_int = 0x0001;
154+
pub const POLLPRI: c_int = 0x0002;
155+
pub const POLLOUT: c_int = 0x0004;
156+
pub const POLLRDNORM: c_int = 0x0040;
157+
pub const POLLWRNORM: c_int = POLLOUT;
158+
pub const POLLRDBAND: c_int = 0x0080;
159+
pub const POLLWRBAND: c_int = 0x0100;
160+
pub const POLLERR: c_int = 0x0008;
161+
pub const POLLHUP: c_int = 0x0010;
162+
pub const POLLNVAL: c_int = 0x0020;
163163

164164
pub const EAI_AGAIN: c_int = 2;
165165
pub const EAI_BADFLAGS: c_int = 3;

0 commit comments

Comments
 (0)