summaryrefslogtreecommitdiffstats
path: root/ffi/tests/c-tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/tests/c-tests.rs')
-rw-r--r--ffi/tests/c-tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/tests/c-tests.rs b/ffi/tests/c-tests.rs
index 3949c539..66cda46f 100644
--- a/ffi/tests/c-tests.rs
+++ b/ffi/tests/c-tests.rs
@@ -115,7 +115,7 @@ fn for_all_rs<F>(src: &Path, mut fun: F)
/// If this looks like an exported function, returns its name.
fn exported_function_name(line: &str) -> Option<&str> {
- if line.starts_with("pub extern \"system\" fn ")
+ if line.starts_with("pub extern \"C\" fn ")
|| line.starts_with("fn pgp_")
{
let fn_i = line.find("fn ")?;