]> Zhao Yanbai Git Server - minix.git/commitdiff
Get rid of K&R functions in recwave 60/2960/1
authorJacob Adams <tookmund@gmail.com>
Wed, 18 Mar 2015 00:34:09 +0000 (20:34 -0400)
committerLionel Sambuc <lionel@minix3.org>
Wed, 18 Mar 2015 07:21:31 +0000 (08:21 +0100)
Change-Id: I98cf0426aedf03ec0312f58ff77b816fd231eb84

minix/commands/recwave/recwave.c

index 09fa87ba63bc6957740e8dad75a3057f1e1c1f20..cef26fb294f360e0776cb926f520b4cfbe2384a9 100644 (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;