summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.h
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-04-05 21:55:31 +0000
committerbluhm <bluhm@openbsd.org>2017-04-05 21:55:31 +0000
commit6545c74a765c2beb1d18f04f35cb2df8f9c5b444 (patch)
treec0e61149b820fb4f6a5c820ed5fddd6a65f5f722 /usr.sbin/syslogd/syslogd.h
parentThe function logmsg() was used to generate local messages and to (diff)
downloadwireguard-openbsd-6545c74a765c2beb1d18f04f35cb2df8f9c5b444.tar.xz
wireguard-openbsd-6545c74a765c2beb1d18f04f35cb2df8f9c5b444.zip
As we did not have nice log functions before, ttymsg() had to return
the error string. Log the message when the error happens and make the function void. OK millert@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.h')
-rw-r--r--usr.sbin/syslogd/syslogd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.h b/usr.sbin/syslogd/syslogd.h
index f85b7f938ea..358c66c5043 100644
--- a/usr.sbin/syslogd/syslogd.h
+++ b/usr.sbin/syslogd/syslogd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.h,v 1.28 2017/04/05 11:31:45 bluhm Exp $ */
+/* $OpenBSD: syslogd.h,v 1.29 2017/04/05 21:55:31 bluhm Exp $ */
/*
* Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org>
@@ -37,7 +37,7 @@ int priv_getnameinfo(struct sockaddr *, socklen_t, char *, size_t);
/* Terminal message */
#define TTYMSGTIME 1 /* timeout used by ttymsg */
#define TTYMAXDELAY 256 /* max events in ttymsg */
-char *ttymsg(struct iovec *, int, char *);
+void ttymsg(struct iovec *, int, char *);
/* File descriptor send/recv */
void send_fd(int, int);