|
176 | 176 | pub d_ino: ::ino_t,
|
177 | 177 | pub d_off: ::off_t,
|
178 | 178 | pub d_reclen: u16,
|
179 |
| - pub d_name: [::c_char; 1] |
| 179 | + pub d_name: [::c_char; 3] |
180 | 180 | }
|
181 | 181 |
|
182 | 182 | pub struct glob_t {
|
|
351 | 351 | pub portev_source: ::c_ushort,
|
352 | 352 | pub portev_pad: ::c_ushort,
|
353 | 353 | pub portev_object: ::uintptr_t,
|
354 |
| - pub portev_user: ::uintptr_t, |
| 354 | + pub portev_user: *mut ::c_void, |
355 | 355 | }
|
356 | 356 | }
|
357 | 357 |
|
@@ -1329,13 +1329,13 @@ extern {
|
1329 | 1329 |
|
1330 | 1330 | pub fn port_create() -> ::c_int;
|
1331 | 1331 | pub fn port_associate(port: ::c_int, source: ::c_int, object: ::uintptr_t,
|
1332 |
| - events: ::c_int, user: ::uintptr_t) -> ::c_int; |
| 1332 | + events: ::c_int, user: *mut ::c_void) -> ::c_int; |
1333 | 1333 | pub fn port_dissociate(port: ::c_int, source: ::c_int, object: ::uintptr_t)
|
1334 | 1334 | -> ::c_int;
|
1335 | 1335 | pub fn port_get(port: ::c_int, pe: *mut port_event,
|
1336 |
| - timeout: *const ::timespec) -> ::c_int; |
| 1336 | + timeout: *mut ::timespec) -> ::c_int; |
1337 | 1337 | pub fn port_getn(port: ::c_int, pe_list: *mut port_event, max: ::c_uint,
|
1338 |
| - nget: *mut ::c_uint, timeout: *const ::timespec) |
| 1338 | + nget: *mut ::c_uint, timeout: *mut ::timespec) |
1339 | 1339 | -> ::c_int;
|
1340 | 1340 | pub fn fexecve(fd: ::c_int, argv: *const *const ::c_char,
|
1341 | 1341 | envp: *const *const ::c_char)
|
|
0 commit comments