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.2 retrieving revision 1.51 diff -u -p -r1.50.2.2 -r1.51 --- src/lib/libc/gen/getcap.c 2012/10/30 18:58:45 1.50.2.2 +++ src/lib/libc/gen/getcap.c 2012/03/13 21:13:35 1.51 @@ -1,4 +1,4 @@ -/* $NetBSD: getcap.c,v 1.50.2.2 2012/10/30 18:58:45 yamt Exp $ */ +/* $NetBSD: getcap.c,v 1.51 2012/03/13 21:13:35 christos 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.2 2012/10/30 18:58:45 yamt Exp $"); +__RCSID("$NetBSD: getcap.c,v 1.51 2012/03/13 21:13:35 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -160,7 +160,10 @@ cgetset(const char *ent) * return NULL. */ char * -cgetcap(char *buf, const char *cap, int type) +cgetcap(buf, cap, type) + char *buf; + const char *cap; + int type; { char *bp; const char *cp;