Declare internal function usage() as static

This commit is contained in:
Ludovic Rousseau 2012-05-18 16:18:45 +00:00
parent a878149663
commit 1a9fcabf89
10 changed files with 10 additions and 10 deletions

View file

@ -125,7 +125,7 @@ try_format_sector (MifareTag tag, MifareClassicSectorNumber sector)
return 0;
}
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s [-fy]\n", progname);

View file

@ -53,7 +53,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s -o FILE\n", progname);

View file

@ -116,7 +116,7 @@ fix_mad_trailer_block (nfc_device *device, MifareTag tag, MifareClassicSectorNum
return 0;
}
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s -i FILE\n", progname);

View file

@ -47,7 +47,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "This application turns Mifare DESFire targets into NFC Forum Type 4 Tags.\n");

View file

@ -41,7 +41,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s [-y] [-K 11223344AABBCCDD]\n", progname);

View file

@ -40,7 +40,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s [-y]\n", progname);

View file

@ -37,7 +37,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s [-y] [-K 11223344AABBCCDD]\n", progname);

View file

@ -37,7 +37,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "usage: %s [-y] [-K 11223344AABBCCDD]\n", progname);

View file

@ -51,7 +51,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "This application reads a NDEF payload from a Mifare DESFire formatted as NFC Forum Type 4 Tag.\n");

View file

@ -59,7 +59,7 @@ struct {
.interactive = true
};
void
static void
usage(char *progname)
{
fprintf (stderr, "This application writes a NDEF payload into a Mifare DESFire formatted as NFC Forum Type 4 Tag.\n");