summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/tests/c-tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ffi/tests/c-tests.rs')
-rw-r--r--openpgp-ffi/tests/c-tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/tests/c-tests.rs b/openpgp-ffi/tests/c-tests.rs
index 050198f5..b14ecadb 100644
--- a/openpgp-ffi/tests/c-tests.rs
+++ b/openpgp-ffi/tests/c-tests.rs
@@ -114,7 +114,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 ")?;