Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/chio Remove redundant main() prototype which survived a ...



details:   https://anonhg.NetBSD.org/src/rev/03d0e32888fb
branches:  trunk
changeset: 347392:03d0e32888fb
user:      sevan <sevan%NetBSD.org@localhost>
date:      Tue Aug 23 21:07:40 2016 +0000

description:
Remove redundant main() prototype which survived a K&R to ANSI transition.

diffstat:

 bin/chio/chio.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 8e2c5173dbbb -r 03d0e32888fb bin/chio/chio.c
--- a/bin/chio/chio.c   Tue Aug 23 20:34:23 2016 +0000
+++ b/bin/chio/chio.c   Tue Aug 23 21:07:40 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chio.c,v 1.31 2011/08/29 14:51:17 joerg Exp $ */
+/* $NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 __COPYRIGHT(
 "@(#) Copyright (c) 1996, 1998, 1999\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: chio.c,v 1.31 2011/08/29 14:51:17 joerg Exp $");
+__RCSID("$NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $");
 #endif
 
 #include <sys/param.h>
@@ -60,7 +60,6 @@
 #include "defs.h"
 #include "pathnames.h"
 
-int main(int, char *[]);
 __dead static void usage(void);
 static void cleanup(void);
 static int parse_element_type(const char *);



Home | Main Index | Thread Index | Old Index