This commit is contained in:
sevan 2018-01-23 19:01:33 +00:00
parent 41e1b109df
commit 179d97fa32
1 changed files with 7 additions and 11 deletions

View File

@ -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. * Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -46,11 +46,10 @@
int aflag, nflag, wflag, dev; int aflag, nflag, wflag, dev;
#define PROTO(x) int x __P((int, int, int)); #define PROTO(x) int x(int, int, int);
static void usage __P((void)) __dead; static void usage(void) __dead;
static void parse __P((char *)); static void parse(char *);
char *dashdot __P((const char *)); char *dashdot(const char *);
int main __P((int, char *[]));
PROTO(hw_version) PROTO(hw_version)
PROTO(hw_microcontroller_version) PROTO(hw_microcontroller_version)
PROTO(hw_poweroncycles) PROTO(hw_poweroncycles)
@ -714,8 +713,7 @@ parse(string)
} }
char * char *
dashdot(string) dashdot(const char *string)
const char *string;
{ {
char *p; char *p;
char *save; char *save;
@ -733,9 +731,7 @@ dashdot(string)
} }
int int
main(argc, argv) main(int argc, char *argv[])
int argc;
char *argv[];
{ {
int ch, j; int ch, j;