From 78fb4ecbfc28f4277b961867064475085b27a377 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Sun, 23 Jul 2023 03:14:49 -0700 Subject: [PATCH] cargo fmt --- src/args.rs | 1 - src/lib.rs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/args.rs b/src/args.rs index 86f0f53..941f8d5 100644 --- a/src/args.rs +++ b/src/args.rs @@ -40,4 +40,3 @@ pub(crate) fn parse_arguments() -> Result { Ok(args) } - diff --git a/src/lib.rs b/src/lib.rs index 2f4c159..86a654c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,9 @@ mod args; -use libc::{c_void, c_int}; +use libc::{c_int, c_void}; -extern { - fn nmseffect_set_autodecrypt(_: c_int) -> c_void; +extern "C" { + fn nmseffect_set_autodecrypt(_: c_int) -> c_void; } #[no_mangle]