From baa9517aa1de8e2523e39a46cc74d1b10080610b Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 2 Nov 2016 22:00:33 +0100 Subject: [PATCH] Fix some compiler warnings when compiling hashcat_shared --- src/main_shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main_shared.c b/src/main_shared.c index b45087479..253720998 100644 --- a/src/main_shared.c +++ b/src/main_shared.c @@ -23,7 +23,7 @@ static void main_cracker_hash_cracked (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, fwrite (EOL, strlen (EOL), 1, stdout); } -void event (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len) +static void event (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len) { switch (id) { @@ -31,7 +31,7 @@ void event (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const siz } } -int main () +int main (MAYBE_UNUSED int argc, MAYBE_UNUSED char **argv) { // hashcat main context