Skip to content

Commit

Permalink
Temporarily remove esetfunc from NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel-bennett committed Oct 14, 2024
1 parent 2064b7a commit b2a4b96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,6 @@ emalloc
erand48
erealloc
ereallocarr
esetfunc
estrdup
estrndup
estrlcat
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2950,9 +2950,12 @@ extern "C" {
) -> ::uintmax_t;
pub fn easprintf(string: *mut *mut ::c_char, fmt: *const ::c_char, ...) -> ::c_int;
pub fn evasprintf(string: *mut *mut ::c_char, fmt: *const ::c_char, ...) -> ::c_int;
// FIXME: re-add with semver once https://github.com/JohnTitor/ctest2/issues/58 is resolved
/*
pub fn esetfunc(
cb: ::Option<unsafe extern "C" fn(::c_int, *const ::c_char, ...)>,
) -> ::Option<unsafe extern "C" fn(::c_int, *const ::c_char, ...)>;
*/
pub fn secure_path(path: *const ::c_char) -> ::c_int;
pub fn snprintb(
buf: *mut ::c_char,
Expand Down

0 comments on commit b2a4b96

Please sign in to comment.