Skip to content

Commit 372ae79

Browse files
committed
Removed repeated IPPROTO constants.
1 parent f64ee03 commit 372ae79

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/unix/newlib/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,6 @@ pub const IFF_LINK2: ::c_int = 0x4000; // per link layer defined bit
491491
pub const IFF_ALTPHYS: ::c_int = IFF_LINK2; // use alternate physical connection
492492
pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
493493

494-
pub const IPPROTO_IP: ::c_int = 0;
495-
pub const IPPROTO_UDP: ::c_int = 17;
496-
pub const IPPROTO_TCP: ::c_int = 6;
497-
498494
pub const TCP_NODELAY: ::c_int = 8193;
499495
pub const TCP_MAXSEG: ::c_int = 8194;
500496

0 commit comments

Comments
 (0)