Skip to content

Commit

Permalink
Auto merge of rust-lang#405 - mmun:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Sep 26, 2016
2 parents eb708c0 + 5ec7715 commit ae70d3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ extern {
pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int;
pub fn scanf(format: *const ::c_char, ...) -> ::c_int;
pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int;
pub fn getchar_unlocked() -> ::c_int;
pub fn putchar_unlocked(c: ::c_int) -> ::c_int;

#[cfg_attr(target_os = "netbsd", link_name = "__socket30")]
pub fn socket(domain: ::c_int, ty: ::c_int, protocol: ::c_int) -> ::c_int;
Expand Down

0 comments on commit ae70d3d

Please sign in to comment.