codegen_llvm: remove unnecessary "extern C"
Signed-off-by: David Wood <david@davidtw.co>
This commit is contained in:
parent
a515258b35
commit
0128f8ee11
1 changed files with 1 additions and 4 deletions
|
|
@ -239,10 +239,7 @@ impl<'a> Drop for DiagnosticHandlers<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(improper_ctypes)]
|
||||
unsafe extern "C" fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>,
|
||||
msg: &str,
|
||||
cookie: c_uint) {
|
||||
fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>, msg: &str, cookie: c_uint) {
|
||||
cgcx.diag_emitter.inline_asm_error(cookie as u32, msg.to_owned());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue