Fix compiler warning: old-style function definition

nfc-mfclassic.c:623:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 bool is_directwrite()
      ^~~~~~~~~~~~~~
nfc-mfclassic.c: In function ‘is_directwrite’:
nfc-mfclassic.c:623:6: warning: old-style function definition [-Wold-style-definition]
This commit is contained in:
Ludovic Rousseau 2020-05-22 09:50:26 +02:00
parent 4525cd1c32
commit 91d7c5d32f

View file

@ -620,7 +620,7 @@ print_usage(const char *pcProgramName)
}
bool is_directwrite()
bool is_directwrite(void)
{
printf("Checking if Badge is DirectWrite...\n");