diff options
author | 2017-07-12 09:07:52 +0000 | |
---|---|---|
committer | 2017-07-12 09:07:52 +0000 | |
commit | f7772d13f1691ba12beb3695935166d3ca29fd4a (patch) | |
tree | da8e2e454f9eb1029adeba246096628f89843285 /usr.bin/tmux/proc.c | |
parent | Compute the level of contention only once. (diff) | |
download | wireguard-openbsd-f7772d13f1691ba12beb3695935166d3ca29fd4a.tar.xz wireguard-openbsd-f7772d13f1691ba12beb3695935166d3ca29fd4a.zip |
proc_send_s now seems unnecessary.
Diffstat (limited to 'usr.bin/tmux/proc.c')
-rw-r--r-- | usr.bin/tmux/proc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c index 99a363009d2..0d9625314e7 100644 --- a/usr.bin/tmux/proc.c +++ b/usr.bin/tmux/proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.c,v 1.10 2017/06/07 15:27:46 nicm Exp $ */ +/* $OpenBSD: proc.c,v 1.11 2017/07/12 09:07:52 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -161,12 +161,6 @@ proc_send(struct tmuxpeer *peer, enum msgtype type, int fd, const void *buf, return (0); } -int -proc_send_s(struct tmuxpeer *peer, enum msgtype type, const char *s) -{ - return (proc_send(peer, type, -1, s, strlen(s) + 1)); -} - struct tmuxproc * proc_start(const char *name, struct event_base *base, int forkflag, void (*signalcb)(int)) |