mirror of
https://github.com/e-n-f/apple2-converters.git
synced 2025-01-13 20:32:19 +00:00
Fix the blatantly wrong compiler warnings
This commit is contained in:
parent
d78041b93b
commit
0ac4faa980
3
a2pic.c
3
a2pic.c
@ -1,11 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
void
|
||||
usage (char *s)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [file]\n");
|
||||
fprintf (stderr, "Usage: %s [file]\n", s);
|
||||
}
|
||||
|
||||
void
|
||||
|
2
awp.c
2
awp.c
@ -123,7 +123,7 @@ process (FILE *f, char *name)
|
||||
sub--;
|
||||
}
|
||||
}
|
||||
} else if (rec[1] = 0xd0) {
|
||||
} else if (rec[1] == 0xd0) {
|
||||
int i;
|
||||
|
||||
for (i = 0; i < rec[0]; i++)
|
||||
|
3
crypto.c
3
crypto.c
@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
char **av;
|
||||
@ -7,7 +8,7 @@ char **av;
|
||||
void
|
||||
usage (char *s)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [file]\n");
|
||||
fprintf (stderr, "Usage: %s [file]\n", s);
|
||||
}
|
||||
|
||||
void
|
||||
|
3
fp.c
3
fp.c
@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
char **av;
|
||||
@ -7,7 +8,7 @@ char **av;
|
||||
void
|
||||
usage (char *s)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [file]\n");
|
||||
fprintf (stderr, "Usage: %s [file]\n", s);
|
||||
}
|
||||
|
||||
char *
|
||||
|
3
orca.c
3
orca.c
@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
char **av;
|
||||
@ -7,7 +8,7 @@ char **av;
|
||||
void
|
||||
usage (char *s)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [file]\n");
|
||||
fprintf (stderr, "Usage: %s [file]\n", s);
|
||||
}
|
||||
|
||||
void
|
||||
|
3
pack.c
3
pack.c
@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
char **av;
|
||||
@ -7,7 +8,7 @@ char **av;
|
||||
void
|
||||
usage (char *s)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [file]\n");
|
||||
fprintf (stderr, "Usage: %s [file]\n", s);
|
||||
}
|
||||
|
||||
void
|
||||
|
3
ps.c
3
ps.c
@ -1,11 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
void
|
||||
usage (char *s)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [file]\n");
|
||||
fprintf (stderr, "Usage: %s [file]\n", s);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user