Get rid of K&R functions in recwave

Change-Id: I98cf0426aedf03ec0312f58ff77b816fd231eb84
This commit is contained in:
Jacob Adams 2015-03-17 20:34:09 -04:00 committed by Lionel Sambuc
parent 25223c2ae2
commit 3bdcd28869

View file

@ -80,8 +80,7 @@ void usage()
exit(-1);
}
void terminate(s)
int s;
void terminate(int s)
{
/* Restore terminal parameters */
tcsetattr(0, TCSANOW, &old_tty);
@ -123,9 +122,7 @@ void write_wave_header()
}
int main(argc, argv)
int argc;
char **argv;
int main(int argc, char* argv[])
{
unsigned int fragment_size;
char *buffer, *file_name;