Skip to content

Commit

Permalink
Fix warning (rust-windowing#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored and kosyak committed Jul 10, 2019
1 parent d89712c commit 99bcd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_impl/linux/dlopen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::os::raw::{c_void, c_char, c_int};
pub const RTLD_LAZY: c_int = 0x001;
pub const RTLD_NOW: c_int = 0x002;

#[link="dl"]
#[link(name ="dl")]
extern {
pub fn dlopen(filename: *const c_char, flag: c_int) -> *mut c_void;
pub fn dlerror() -> *mut c_char;
Expand Down

0 comments on commit 99bcd67

Please sign in to comment.