Merge pull request #2 from ryandesign/ryandesign-strict-prototypes

Fix issues found with -Wstrict-prototypes
This commit is contained in:
datajerk 2023-10-26 14:53:26 -06:00 committed by GitHub
commit d74542dd56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

4
c2d.c
View File

@ -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);
}

View File

@ -2,7 +2,7 @@
#define MASK 0x7F
int main()
int main(int argc, char **argv)
{
int i, j, k, line;
char screen[24][40];

View File

@ -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;