Skip to content

Commit b2a4b96

Browse files
Temporarily remove esetfunc from NetBSD
1 parent 2064b7a commit b2a4b96

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libc-test/semver/netbsd.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,6 @@ emalloc
12411241
erand48
12421242
erealloc
12431243
ereallocarr
1244-
esetfunc
12451244
estrdup
12461245
estrndup
12471246
estrlcat

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,9 +2950,12 @@ extern "C" {
29502950
) -> ::uintmax_t;
29512951
pub fn easprintf(string: *mut *mut ::c_char, fmt: *const ::c_char, ...) -> ::c_int;
29522952
pub fn evasprintf(string: *mut *mut ::c_char, fmt: *const ::c_char, ...) -> ::c_int;
2953+
// FIXME: re-add with semver once https://github.com/JohnTitor/ctest2/issues/58 is resolved
2954+
/*
29532955
pub fn esetfunc(
29542956
cb: ::Option<unsafe extern "C" fn(::c_int, *const ::c_char, ...)>,
29552957
) -> ::Option<unsafe extern "C" fn(::c_int, *const ::c_char, ...)>;
2958+
*/
29562959
pub fn secure_path(path: *const ::c_char) -> ::c_int;
29572960
pub fn snprintb(
29582961
buf: *mut ::c_char,

0 commit comments

Comments
 (0)