diff --git a/main.c b/main.c index 25a8455..1cbd57c 100644 --- a/main.c +++ b/main.c @@ -47,7 +47,6 @@ void usage() { int main(int argc, char **argv) { - print_message_from_rust(); int read_flag = 0, write_flag = 0, config_flag = 0, csv_flag = 0; int list_flag = 0, verify_flag = 0; diff --git a/src/lib.rs b/src/lib.rs index 3b6ec3f..52f3ce9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,11 +3,6 @@ use libc::c_char; const COPYRIGHT: &'static str = "Copyright (C) 2018 Serge Vakulenko KK6ABQ"; -#[no_mangle] -pub extern "C" fn print_message_from_rust() { - println!("Calling from Rust!"); -} - #[no_mangle] pub extern "C" fn print_usage(version_ptr: *const c_char) { let version: String = unsafe { CStr::from_ptr(version_ptr) }.to_string_lossy().to_string();