Declare internal function usage() as static
This commit is contained in:
parent
a878149663
commit
1a9fcabf89
10 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
|
|
|
@ -53,7 +53,7 @@ struct {
|
|||
.interactive = true
|
||||
};
|
||||
|
||||
void
|
||||
static void
|
||||
usage(char *progname)
|
||||
{
|
||||
fprintf (stderr, "usage: %s -o FILE\n", progname);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -41,7 +41,7 @@ struct {
|
|||
.interactive = true
|
||||
};
|
||||
|
||||
void
|
||||
static void
|
||||
usage(char *progname)
|
||||
{
|
||||
fprintf (stderr, "usage: %s [-y] [-K 11223344AABBCCDD]\n", progname);
|
||||
|
|
|
@ -40,7 +40,7 @@ struct {
|
|||
.interactive = true
|
||||
};
|
||||
|
||||
void
|
||||
static void
|
||||
usage(char *progname)
|
||||
{
|
||||
fprintf (stderr, "usage: %s [-y]\n", progname);
|
||||
|
|
|
@ -37,7 +37,7 @@ struct {
|
|||
.interactive = true
|
||||
};
|
||||
|
||||
void
|
||||
static void
|
||||
usage(char *progname)
|
||||
{
|
||||
fprintf (stderr, "usage: %s [-y] [-K 11223344AABBCCDD]\n", progname);
|
||||
|
|
|
@ -37,7 +37,7 @@ struct {
|
|||
.interactive = true
|
||||
};
|
||||
|
||||
void
|
||||
static void
|
||||
usage(char *progname)
|
||||
{
|
||||
fprintf (stderr, "usage: %s [-y] [-K 11223344AABBCCDD]\n", progname);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue