summaryrefslogtreecommitdiff
path: root/src/unix/newlib/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-15 15:16:29 +0000
committerbors <bors@rust-lang.org>2023-05-15 15:16:29 +0000
commit586541b97e047cfec540fad752bc1eaca4acac36 (patch)
tree542bee1edd6fe3ac67d97425e7ecd2c57ad98eb3 /src/unix/newlib/mod.rs
parentd1df7024408f3c103d7d80fec4b25e165890afa1 (diff)
parent07f7c83349a5af80dcbb80ac6f2a8a12dbfdb97b (diff)
downloadrust-libc-586541b97e047cfec540fad752bc1eaca4acac36.tar.gz
Auto merge of #3249 - joshtriplett:switch-to-main, r=Amanieu
Change branch references to HEAD where possible or main otherwise This updates CI, documentation, and similar to work with a `main` branch. It also renames references to *other* repositories to work, as well, which additionally makes it easier to search for remaining references. I verified that all modified links still work.
Diffstat (limited to 'src/unix/newlib/mod.rs')
-rw-r--r--src/unix/newlib/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unix/newlib/mod.rs b/src/unix/newlib/mod.rs
index d46844268f..afa7ca7c7e 100644
--- a/src/unix/newlib/mod.rs
+++ b/src/unix/newlib/mod.rs
@@ -498,8 +498,7 @@ pub const SOCK_CLOEXEC: ::c_int = O_CLOEXEC;
pub const INET_ADDRSTRLEN: ::c_int = 16;
-// https://github.
-// com/bminor/newlib/blob/master/newlib/libc/sys/linux/include/net/if.h#L121
+// https://github.com/bminor/newlib/blob/HEAD/newlib/libc/sys/linux/include/net/if.h#L121
pub const IFF_UP: ::c_int = 0x1; // interface is up
pub const IFF_BROADCAST: ::c_int = 0x2; // broadcast address valid
pub const IFF_DEBUG: ::c_int = 0x4; // turn on debugging