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.51 retrieving revision 1.52 diff -u -p -r1.51 -r1.52 --- src/lib/libc/gen/getcap.c 2012/03/13 21:13:35 1.51 +++ src/lib/libc/gen/getcap.c 2012/06/04 20:56:40 1.52 @@ -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;