Skip to content

Commit c74a1e4

Browse files
committed
use uint type
Signed-off-by: Xiaobo Liu <[email protected]>
1 parent 875d523 commit c74a1e4

File tree

1 file changed

+4
-32
lines changed
  • src/unix/linux_like/linux/uclibc/mips

1 file changed

+4
-32
lines changed

src/unix/linux_like/linux/uclibc/mips/mod.rs

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,10 @@ pub const ECOMM: ::c_int = 70;
2323
pub const EPROTO: ::c_int = 71;
2424
pub const EDOTDOT: ::c_int = 73;
2525

26-
#[deprecated(
27-
since = "0.2.143",
28-
note = "we 're going to change its type to `c_ulong` in a future release"
29-
)]
30-
pub const SA_NODEFER: ::c_int = 0x40000000;
31-
#[deprecated(
32-
since = "0.2.143",
33-
note = "we 're going to change its type to `c_ulong` in a future release"
34-
)]
35-
pub const SA_RESETHAND: ::c_int = 0x80000000;
36-
#[deprecated(
37-
since = "0.2.143",
38-
note = "we 're going to change its type to `c_ulong` in a future release"
39-
)]
40-
pub const SA_RESTART: ::c_int = 0x10000000;
41-
#[deprecated(
42-
since = "0.2.143",
43-
note = "we 're going to change its type to `c_ulong` in a future release"
44-
)]
45-
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
26+
pub const SA_NODEFER: ::c_uint = 0x40000000;
27+
pub const SA_RESETHAND: ::c_uint = 0x80000000;
28+
pub const SA_RESTART: ::c_uint = 0x10000000;
29+
pub const SA_NOCLDSTOP: ::c_uint = 0x00000001;
4630

4731
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
4832

@@ -174,20 +158,8 @@ pub const SOCK_STREAM: ::c_int = 2;
174158
pub const SOCK_DGRAM: ::c_int = 1;
175159
pub const SOCK_SEQPACKET: ::c_int = 5;
176160

177-
#[deprecated(
178-
since = "0.2.143",
179-
note = "we are going to change its type to `c_ulong` in a future release"
180-
)]
181161
pub const SA_ONSTACK: ::c_uint = 0x08000000;
182-
#[deprecated(
183-
since = "0.2.143",
184-
note = "we are going to change its type to `c_ulong` in a future release"
185-
)]
186162
pub const SA_SIGINFO: ::c_uint = 0x00000008;
187-
#[deprecated(
188-
since = "0.2.143",
189-
note = "we are going to change its type to `c_ulong` in a future release"
190-
)]
191163
pub const SA_NOCLDWAIT: ::c_int = 0x00010000;
192164

193165
pub const SIGCHLD: ::c_int = 18;

0 commit comments

Comments
 (0)