Get rid of K&R functions in recwave
Change-Id: I98cf0426aedf03ec0312f58ff77b816fd231eb84
This commit is contained in:
parent
25223c2ae2
commit
3bdcd28869
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue