Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/unexpand KNF



details:   https://anonhg.NetBSD.org/src/rev/e35f7e182eb4
branches:  trunk
changeset: 545404:e35f7e182eb4
user:      dsl <dsl%NetBSD.org@localhost>
date:      Tue Apr 08 09:44:47 2003 +0000

description:
KNF

diffstat:

 usr.bin/unexpand/unexpand.c |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r e24264f0a29c -r e35f7e182eb4 usr.bin/unexpand/unexpand.c
--- a/usr.bin/unexpand/unexpand.c       Tue Apr 08 09:16:19 2003 +0000
+++ b/usr.bin/unexpand/unexpand.c       Tue Apr 08 09:44:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unexpand.c,v 1.8 1999/02/11 15:29:14 kleink Exp $      */
+/*     $NetBSD: unexpand.c,v 1.9 2003/04/08 09:44:47 dsl Exp $ */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)unexpand.c 8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: unexpand.c,v 1.8 1999/02/11 15:29:14 kleink Exp $");
+__RCSID("$NetBSD: unexpand.c,v 1.9 2003/04/08 09:44:47 dsl Exp $");
 #endif /* not lint */
 
 /*
@@ -57,13 +57,11 @@
 char   genbuf[BUFSIZ];
 char   linebuf[BUFSIZ];
 
-int    main __P((int, char **));
-void tabify __P((int));
+int    main(int, char **);
+void   tabify(int);
 
 int
-main(argc, argv)
-       int argc;
-       char *argv[];
+main(int argc, char **argv)
 {
        int all, c;
        char *cp;



Home | Main Index | Thread Index | Old Index