Weak linkage for getopt and fnmatch
This commit is contained in:
@@ -20,6 +20,7 @@ pub struct option {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[linkage = "weak"] // often redefined in GNU programs
|
||||
pub unsafe extern "C" fn getopt_long(
|
||||
argc: c_int,
|
||||
argv: *const *mut c_char,
|
||||
|
||||
Reference in New Issue
Block a user