Suppress warning: function declaration isn’t a prototype, old-style function definition

This commit is contained in:
romuald@libnfc.org 2012-09-26 19:44:22 +00:00
parent 24964bb77a
commit eddd55c6fc
2 changed files with 3 additions and 3 deletions

View File

@ -791,7 +791,7 @@ void print_usage(FILE *fp, const char * prog_name)
return;
}
void print_identification()
void print_identification(void)
{
fprintf(stdout, "%s - %s\n", PACKAGE_NAME, PACKAGE_VERSION);
fprintf(stdout, "%s - %s\n", BUILD_NAME, BUILD_VERSION);

View File

@ -132,7 +132,7 @@ int mfcuk_finger_default_comparator(mifare_classic_tag *dump, mfcuk_finger_templ
return 1;
}
int mfcuk_finger_load()
int mfcuk_finger_load(void)
{
int i;
mifare_classic_tag mask;
@ -194,7 +194,7 @@ int mfcuk_finger_load()
return template_loaded_count;
}
int mfcuk_finger_unload()
int mfcuk_finger_unload(void)
{
int i;