Skip to content

Commit

Permalink
Fix invalid link attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Mar 12, 2023
1 parent 116d3fe commit d0c032c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timer/posix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn init_sig() {

#[cfg(feature = "c_wrapper")]
fn time_create(state: *mut TimerState) -> ffi::timer_t {
#[link(name = "posix_wrapper", link = "static")]
#[link(name = "posix_wrapper", kind = "static")]
extern "C" {
fn posix_timer(_: Option<unsafe extern "C" fn(value: libc::sigval)>, _: *mut libc::c_void) -> ffi::timer_t;
}
Expand Down

0 comments on commit d0c032c

Please sign in to comment.