From c8692aa2396ad4e5ff986c4f7d551a89feed9f1b Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 22 May 2020 09:51:14 +0200 Subject: [PATCH] Fix compiler warning: no previous prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nfc-mfclassic.c:623:6: warning: no previous prototype for ‘is_directwrite’ [-Wmissing-prototypes] bool is_directwrite(void) ^~~~~~~~~~~~~~ --- utils/nfc-mfclassic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c index e019ddc..6530224 100644 --- a/utils/nfc-mfclassic.c +++ b/utils/nfc-mfclassic.c @@ -620,7 +620,7 @@ print_usage(const char *pcProgramName) } -bool is_directwrite(void) +static bool is_directwrite(void) { printf("Checking if Badge is DirectWrite...\n");