Skip to content

Commit 9c89867

Browse files
committed
fixup
1 parent b9f8708 commit 9c89867

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/unix/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,11 @@ extern {
512512
pub fn snprintf(s: *mut ::c_char, n: ::size_t,
513513
format: *const ::c_char, ...) -> ::c_int;
514514
pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int;
515-
#[cfg_attr(target_os = "linux", link_name = "__nldbl___isoc99_fscanf")]
515+
#[cfg_attr(target_os = "linux", link_name = "__isoc99_fscanf")]
516516
pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int;
517-
#[cfg_attr(target_os = "linux", link_name = "__nldbl___isoc99_scanf")]
517+
#[cfg_attr(target_os = "linux", link_name = "__isoc99_scanf")]
518518
pub fn scanf(format: *const ::c_char, ...) -> ::c_int;
519-
#[cfg_attr(target_os = "linux", link_name = "__nldbl___isoc99_sscanf")]
519+
#[cfg_attr(target_os = "linux", link_name = "__isoc99_sscanf")]
520520
pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int;
521521
pub fn getchar_unlocked() -> ::c_int;
522522
pub fn putchar_unlocked(c: ::c_int) -> ::c_int;

0 commit comments

Comments
 (0)