From 3bdcd28869975c1e25f5f850f457bd61ddad3820 Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Tue, 17 Mar 2015 20:34:09 -0400 Subject: [PATCH] Get rid of K&R functions in recwave Change-Id: I98cf0426aedf03ec0312f58ff77b816fd231eb84 --- minix/commands/recwave/recwave.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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;