Module Name: src Committed By: joerg Date: Mon Jun 4 20:56:40 UTC 2012
Modified Files: src/lib/libc/gen: getcap.c Log Message: ANSIfy To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/libc/gen/getcap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gen/getcap.c diff -u src/lib/libc/gen/getcap.c:1.51 src/lib/libc/gen/getcap.c:1.52 --- src/lib/libc/gen/getcap.c:1.51 Tue Mar 13 21:13:35 2012 +++ src/lib/libc/gen/getcap.c Mon Jun 4 20:56:40 2012 @@ -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;