Skip to content

Commit a78476c

Browse files
committed
fix: rename aio_result & sort semver
1 parent 6ca2e2a commit a78476c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

libc-test/semver/solarish.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
AIO_CANCELED
21
AIO_ALLDONE
2+
AIO_CANCELED
33
AIO_NOTCANCELED
44
IPV6_DONTFRAG
55
IPV6_PKTINFO
@@ -10,16 +10,17 @@ IP_PKTINFO
1010
IP_TOS
1111
IP_TTL
1212
LIO_NOP
13-
LIO_READ
14-
LIO_WRITE
1513
LIO_NOWAIT
14+
LIO_READ
1615
LIO_WAIT
16+
LIO_WRITE
1717
PIPE_BUF
1818
SIGEV_PORT
1919
aio_cancel
2020
aio_error
2121
aio_fsync
2222
aio_read
23+
aio_result
2324
aio_return
2425
aio_suspend
2526
aio_waitn

src/unix/solarish/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ s! {
420420
pub portnfy_user: *mut ::c_void,
421421
}
422422

423-
pub struct aio_result_t {
423+
pub struct aio_result {
424424
aio_return: ::ssize_t,
425425
aio_errno: ::c_int,
426426
}
@@ -433,8 +433,8 @@ s! {
433433
pub aio_reqprio: ::c_int,
434434
pub aio_sigevent: sigevent,
435435
pub aio_lio_opcode: ::c_int,
436-
pub aio_resultp: ::aio_result_t,
437-
pub aio_state: ::c_int,
436+
_aio_resultp: ::aio_result,
437+
_aio_state: ::c_int,
438438
_aio_pad: ::c_int
439439
}
440440

0 commit comments

Comments
 (0)