Module Name:    src
Committed By:   sevan
Date:           Tue Jan 23 19:01:33 UTC 2018

Modified Files:
        src/usr.sbin/tadpolectl: tadpolectl.c

Log Message:
Ansify


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/tadpolectl/tadpolectl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/tadpolectl/tadpolectl.c
diff -u src/usr.sbin/tadpolectl/tadpolectl.c:1.9 src/usr.sbin/tadpolectl/tadpolectl.c:1.10
--- src/usr.sbin/tadpolectl/tadpolectl.c:1.9	Fri Oct  2 20:42:15 2015
+++ src/usr.sbin/tadpolectl/tadpolectl.c	Tue Jan 23 19:01:33 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: tadpolectl.c,v 1.9 2015/10/02 20:42:15 joerg Exp $ */
+/* $NetBSD: tadpolectl.c,v 1.10 2018/01/23 19:01:33 sevan Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -46,11 +46,10 @@
 
 int aflag, nflag, wflag, dev;
 
-#define PROTO(x) int x __P((int, int, int));
-static void usage __P((void)) __dead;
-static void parse __P((char *));
-char *dashdot __P((const char *));
-int main __P((int, char *[]));
+#define PROTO(x) int x(int, int, int);
+static void usage(void) __dead;
+static void parse(char *);
+char *dashdot(const char *);
 PROTO(hw_version)
 PROTO(hw_microcontroller_version)
 PROTO(hw_poweroncycles)
@@ -714,8 +713,7 @@ parse(string)
 }
 
 char *
-dashdot(string)
-	const char *string;
+dashdot(const char *string)
 {
 	char *p;
 	char *save;
@@ -733,9 +731,7 @@ dashdot(string)
 }
 
 int
-main(argc, argv)
-	int argc;
-	char *argv[];
+main(int argc, char *argv[])
 {
 	int ch, j;
 

Reply via email to