summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Magnuson <jon.magnuson@gmail.com>2018-12-08 00:24:39 -0600
committerJon Magnuson <jon.magnuson@gmail.com>2018-12-08 00:24:42 -0600
commitbbed4d4d055e887ad210a2dbf822683dffc5070e (patch)
tree2116f5ae3f89a555b68b2ed4b0fda6c9e3e5b53a
parent74aeca262e756ea1b10e11fe9bfd9dd85e116f94 (diff)
downloadrust-libc-bbed4d4d055e887ad210a2dbf822683dffc5070e.tar.gz
Move SOL_BLUETOOTH to notbsd module
-rw-r--r--src/unix/notbsd/linux/other/mod.rs1
-rw-r--r--src/unix/notbsd/mod.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs
index 3ad780fb01..c1e339311d 100644
--- a/src/unix/notbsd/linux/other/mod.rs
+++ b/src/unix/notbsd/linux/other/mod.rs
@@ -269,7 +269,6 @@ pub const SOCK_NONBLOCK: ::c_int = O_NONBLOCK;
pub const SOL_RXRPC: ::c_int = 272;
pub const SOL_PPPOL2TP: ::c_int = 273;
-pub const SOL_BLUETOOTH: ::c_int = 274;
pub const SOL_PNPIPE: ::c_int = 275;
pub const SOL_RDS: ::c_int = 276;
pub const SOL_IUCV: ::c_int = 277;
diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs
index f66350a191..9557d1b3ad 100644
--- a/src/unix/notbsd/mod.rs
+++ b/src/unix/notbsd/mod.rs
@@ -513,6 +513,7 @@ pub const SOL_LLC: ::c_int = 268;
pub const SOL_DCCP: ::c_int = 269;
pub const SOL_NETLINK: ::c_int = 270;
pub const SOL_TIPC: ::c_int = 271;
+pub const SOL_BLUETOOTH: ::c_int = 274;
pub const AF_UNSPEC: ::c_int = 0;
pub const AF_UNIX: ::c_int = 1;