mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
Include ttymsg.h from ../../usr.bin/wall instead of rolling our own
prototype.
This commit is contained in:
parent
d3ca0b131b
commit
f218b7fcbb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83244
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user