Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin ANSIfy partially



details:   https://anonhg.NetBSD.org/src/rev/5f7ea0cba80a
branches:  trunk
changeset: 749091:5f7ea0cba80a
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Nov 17 18:37:45 2009 +0000

description:
ANSIfy partially

diffstat:

 usr.sbin/rpc.pcnfsd/pcnfsd_misc.c |  7 ++-----
 usr.sbin/sa/main.c                |  7 +++----
 usr.sbin/sesd/srcs/eltsub.c       |  5 ++---
 3 files changed, 7 insertions(+), 12 deletions(-)

diffs (68 lines):

diff -r a75c5fe55d27 -r 5f7ea0cba80a usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
--- a/usr.sbin/rpc.pcnfsd/pcnfsd_misc.c Tue Nov 17 18:36:07 2009 +0000
+++ b/usr.sbin/rpc.pcnfsd/pcnfsd_misc.c Tue Nov 17 18:37:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcnfsd_misc.c,v 1.11 2008/09/30 05:20:42 dholland Exp $        */
+/*     $NetBSD: pcnfsd_misc.c,v 1.12 2009/11/17 18:37:45 drochner Exp $        */
 
 /* RE_SID: @(%)/usr/dosnfs/shades_SCCS/unix/pcnfsd/v2/src/SCCS/s.pcnfsd_misc.c 1.5 92/01/24 19:59:13 SMI */
 /*
@@ -192,10 +192,7 @@
 
 
 char   *
-mapfont(f, i, b)
-       char    f;
-       char    i;
-       char    b;
+mapfont(char f, char i, char b)
 {
        static char fontname[64];
 
diff -r a75c5fe55d27 -r 5f7ea0cba80a usr.sbin/sa/main.c
--- a/usr.sbin/sa/main.c        Tue Nov 17 18:36:07 2009 +0000
+++ b/usr.sbin/sa/main.c        Tue Nov 17 18:37:45 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.24 2009/04/28 08:32:56 lukem Exp $ */
+/* $NetBSD: main.c,v 1.25 2009/11/17 18:37:45 drochner Exp $ */
 
 /*
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -39,7 +39,7 @@
 __COPYRIGHT("@(#) Copyright (c) 1994\
  Christopher G. Demetriou.  All rights reserved.");
 
-__RCSID("$NetBSD: main.c,v 1.24 2009/04/28 08:32:56 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.25 2009/11/17 18:37:45 drochner Exp $");
 #endif
 
 /*
@@ -373,8 +373,7 @@
 }
 
 static u_quad_t
-decode_comp_t(comp)
-       comp_t comp;
+decode_comp_t(comp_t comp)
 {
        u_quad_t rv;
 
diff -r a75c5fe55d27 -r 5f7ea0cba80a usr.sbin/sesd/srcs/eltsub.c
--- a/usr.sbin/sesd/srcs/eltsub.c       Tue Nov 17 18:36:07 2009 +0000
+++ b/usr.sbin/sesd/srcs/eltsub.c       Tue Nov 17 18:37:45 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eltsub.c,v 1.2 2000/02/22 06:06:07 mjacob Exp $ */
+/* $NetBSD: eltsub.c,v 1.3 2009/11/17 18:37:45 drochner Exp $ */
 /* $FreeBSD: $ */
 /* $OpenBSD: $ */
 /*
@@ -122,8 +122,7 @@
 }
 
 static char *
-scode2ascii(code)
-       u_char code;
+scode2ascii(u_char code)
 {
        static char rbuf[32];
        switch (code & 0xf) {



Home | Main Index | Thread Index | Old Index