Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen ANSIfy



details:   https://anonhg.NetBSD.org/src/rev/d5f04efe5667
branches:  trunk
changeset: 779597:d5f04efe5667
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 04 20:56:40 2012 +0000

description:
ANSIfy

diffstat:

 lib/libc/gen/getcap.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 02ec7a1323a0 -r d5f04efe5667 lib/libc/gen/getcap.c
--- a/lib/libc/gen/getcap.c     Mon Jun 04 20:34:20 2012 +0000
+++ b/lib/libc/gen/getcap.c     Mon Jun 04 20:56:40 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getcap.c,v 1.51 2012/03/13 21:13:35 christos Exp $     */
+/*     $NetBSD: getcap.c,v 1.52 2012/06/04 20:56:40 joerg Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)getcap.c   8.3 (Berkeley) 3/25/94";
 #else
-__RCSID("$NetBSD: getcap.c,v 1.51 2012/03/13 21:13:35 christos Exp $");
+__RCSID("$NetBSD: getcap.c,v 1.52 2012/06/04 20:56:40 joerg Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -160,10 +160,7 @@
  * return NULL.
  */
 char *
-cgetcap(buf, cap, type)
-       char *buf;
-       const char *cap;
-       int type;
+cgetcap(char *buf, const char *cap, int type)
 {
        char *bp;
        const char *cp;



Home | Main Index | Thread Index | Old Index