Skip to content

Commit 728f6e0

Browse files
committed
Auto merge of #1169 - jmagnuson:feature/move-sol_bluetooth-to-notbsd, r=alexcrichton
Move SOL_BLUETOOTH to notbsd module https://github.com/torvalds/linux/blob/master/include/linux/socket.h#L334 https://android.googlesource.com/platform/bionic/+/master/libc/include/sys/socket.h#283 https://git.musl-libc.org/cgit/musl/tree/include/sys/socket.h#n259 Seems like it should be okay for a broader exposure than `linux::other`. Maybe I am missing something.
2 parents 74aeca2 + bbed4d4 commit 728f6e0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/unix/notbsd/linux/other/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ pub const SOCK_NONBLOCK: ::c_int = O_NONBLOCK;
269269

270270
pub const SOL_RXRPC: ::c_int = 272;
271271
pub const SOL_PPPOL2TP: ::c_int = 273;
272-
pub const SOL_BLUETOOTH: ::c_int = 274;
273272
pub const SOL_PNPIPE: ::c_int = 275;
274273
pub const SOL_RDS: ::c_int = 276;
275274
pub const SOL_IUCV: ::c_int = 277;

src/unix/notbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ pub const SOL_LLC: ::c_int = 268;
513513
pub const SOL_DCCP: ::c_int = 269;
514514
pub const SOL_NETLINK: ::c_int = 270;
515515
pub const SOL_TIPC: ::c_int = 271;
516+
pub const SOL_BLUETOOTH: ::c_int = 274;
516517

517518
pub const AF_UNSPEC: ::c_int = 0;
518519
pub const AF_UNIX: ::c_int = 1;

0 commit comments

Comments
 (0)