Include ttymsg.h from ../../usr.bin/wall instead of rolling our own

prototype.
This commit is contained in:
Dima Dorfman 2001-09-09 14:30:11 +00:00
parent d3ca0b131b
commit f218b7fcbb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83244
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= ntalkd
CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
.PATH: ${.CURDIR}/../../usr.bin/wall
MAN= talkd.8

View File

@ -57,10 +57,11 @@ static const char rcsid[] =
#include <unistd.h>
#include <vis.h>
#include "ttymsg.h"
extern char hostname[];
int print_mesg __P((char *, FILE *, CTL_MSG *, char *));
char *ttymsg __P((struct iovec *, int, char *, int));
/*
* Announce an invitation to talk.