From 02682f7d23fb424a11a06867b9a3d4de2fcaa04d Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 4 Jun 2012 20:56:40 +0000 Subject: [PATCH] ANSIfy --- lib/libc/gen/getcap.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c index 575ccb71936f..4d1762140c81 100644 --- a/lib/libc/gen/getcap.c +++ b/lib/libc/gen/getcap.c @@ -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 @@ cgetset(const char *ent) * 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;