Skip to content

Commit c5eadb3

Browse files
committed
remove backtrace() prototype that don't exists under
- openbsd - bitrig - netbsd
1 parent 5f75552 commit c5eadb3

File tree

1 file changed

+0
-1
lines changed
  • src/unix/bsd/openbsdlike

1 file changed

+0
-1
lines changed

src/unix/bsd/openbsdlike/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ extern {
361361
#[cfg_attr(target_os = "netbsd", link_name = "__clock_gettime50")]
362362
pub fn clock_gettime(clk_id: ::c_int, tp: *mut ::timespec) -> ::c_int;
363363
pub fn __errno() -> *mut ::c_int;
364-
pub fn backtrace(buf: *mut *mut ::c_void, sz: ::size_t) -> ::size_t;
365364
pub fn shm_open(name: *const ::c_char, oflag: ::c_int, mode: ::mode_t)
366365
-> ::c_int;
367366
pub fn pthread_main_np() -> ::c_int;

0 commit comments

Comments
 (0)