mirror of
https://github.com/datajerk/c2d.git
synced 2025-01-14 08:30:22 +00:00
Fix issues found with -Wstrict-prototypes
This commit is contained in:
parent
e4815fe220
commit
a54024f82a
4
c2d.c
4
c2d.c
@ -49,7 +49,7 @@ Bugs:
|
||||
#define MONITOR 1
|
||||
#define LOADER "loader"
|
||||
|
||||
void usage();
|
||||
void usage(void);
|
||||
char *getext(char *filename);
|
||||
|
||||
int main(int argc, char **argv)
|
||||
@ -346,7 +346,7 @@ char *getext(char *filename)
|
||||
return (rval);
|
||||
}
|
||||
|
||||
void usage()
|
||||
void usage(void)
|
||||
{
|
||||
fprintf(stderr, "%s", usagetext);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#define MASK 0x7F
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int i, j, k, line;
|
||||
char screen[24][40];
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define NORMAL 0x80
|
||||
#define BLINK 0x40
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
char c;
|
||||
int i, j, k, line = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user