From: Jacob Adams Date: Wed, 18 Mar 2015 00:34:09 +0000 (-0400) Subject: Get rid of K&R functions in recwave X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F2960%2F1;p=minix.git Get rid of K&R functions in recwave Change-Id: I98cf0426aedf03ec0312f58ff77b816fd231eb84 --- diff --git a/minix/commands/recwave/recwave.c b/minix/commands/recwave/recwave.c index 09fa87ba6..cef26fb29 100644 --- a/minix/commands/recwave/recwave.c +++ b/minix/commands/recwave/recwave.c @@ -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;