=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ypcat/ypcat.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/ypcat/ypcat.c 1996/05/24 09:15:39 1.5 +++ src/usr.bin/ypcat/ypcat.c 1997/07/21 19:21:14 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: ypcat.c,v 1.5 1996/05/24 09:15:39 deraadt Exp $ */ +/* $OpenBSD: ypcat.c,v 1.6 1997/07/21 19:21:14 deraadt Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt @@ -33,12 +33,14 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypcat.c,v 1.5 1996/05/24 09:15:39 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypcat.c,v 1.6 1997/07/21 19:21:14 deraadt Exp $"; #endif #include #include #include +#include +#include #include #include @@ -62,6 +64,7 @@ int key; +void usage() { fprintf(stderr, "Usage:\n"); @@ -70,6 +73,7 @@ exit(1); } +int printit(instatus, inkey, inkeylen, inval, invallen, indata) int instatus; char *inkey;