summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-08-07 16:21:09 +0000
committerache <ache@FreeBSD.org>1998-08-07 16:21:09 +0000
commit2d5e5a91b3d7ae2ca76f2e7dee83120180178816 (patch)
tree679b5adba7ed9572dd076e74662f74cd5b4bc673 /usr.bin/finger
parente0b43fcc69b8197a163fa3ce7020066aabf8ada8 (diff)
downloadFreeBSD-src-2d5e5a91b3d7ae2ca76f2e7dee83120180178816.zip
FreeBSD-src-2d5e5a91b3d7ae2ca76f2e7dee83120180178816.tar.gz
fix 8bit clean issue
PR: 7519
Diffstat (limited to 'usr.bin/finger')
-rw-r--r--usr.bin/finger/lprint.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c
index a0643ca..5d8023f 100644
--- a/usr.bin/finger/lprint.c
+++ b/usr.bin/finger/lprint.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)lprint.c 8.3 (Berkeley) 4/28/95";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: lprint.c,v 1.8 1997/07/02 06:34:49 charnier Exp $";
#endif
#endif /* not lint */
@@ -69,7 +69,7 @@ static const char rcsid[] =
static int demi_print __P((char *, int));
static void lprint __P((PERSON *));
static int show_text __P((char *, char *, char *));
-static void vputc __P((int));
+static void vputc __P((unsigned char));
void
lflag_print()
@@ -296,8 +296,8 @@ show_text(directory, file_name, header)
{
struct stat sb;
register FILE *fp;
- register int ch, cnt, lastc;
- register char *p;
+ register int ch, cnt;
+ register char *p, lastc;
int fd, nr;
(void)snprintf(tbuf, sizeof(tbuf), "%s/%s", directory, file_name);
@@ -342,7 +342,7 @@ show_text(directory, file_name, header)
static void
vputc(ch)
- register int ch;
+ register unsigned char ch;
{
int meta;
OpenPOWER on IntegriCloud