Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/getcap.c,v retrieving revision 1.50.2.1 retrieving revision 1.50.2.2 diff -u -p -r1.50.2.1 -r1.50.2.2 --- src/lib/libc/gen/getcap.c 2012/04/17 00:05:18 1.50.2.1 +++ src/lib/libc/gen/getcap.c 2012/10/30 18:58:45 1.50.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: getcap.c,v 1.50.2.1 2012/04/17 00:05:18 yamt Exp $ */ +/* $NetBSD: getcap.c,v 1.50.2.2 2012/10/30 18:58:45 yamt 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.50.2.1 2012/04/17 00:05:18 yamt Exp $"); +__RCSID("$NetBSD: getcap.c,v 1.50.2.2 2012/10/30 18:58:45 yamt 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;