Include ttymsg.h from ../../usr.bin/wall instead of rolling our own
prototype.
This commit is contained in:
parent
d3ca0b131b
commit
f218b7fcbb
@ -2,6 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= ntalkd
|
PROG= ntalkd
|
||||||
|
CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
|
||||||
SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
|
SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
|
||||||
.PATH: ${.CURDIR}/../../usr.bin/wall
|
.PATH: ${.CURDIR}/../../usr.bin/wall
|
||||||
MAN= talkd.8
|
MAN= talkd.8
|
||||||
|
@ -57,10 +57,11 @@ static const char rcsid[] =
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <vis.h>
|
#include <vis.h>
|
||||||
|
|
||||||
|
#include "ttymsg.h"
|
||||||
|
|
||||||
extern char hostname[];
|
extern char hostname[];
|
||||||
|
|
||||||
int print_mesg __P((char *, FILE *, CTL_MSG *, char *));
|
int print_mesg __P((char *, FILE *, CTL_MSG *, char *));
|
||||||
char *ttymsg __P((struct iovec *, int, char *, int));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Announce an invitation to talk.
|
* Announce an invitation to talk.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user