diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-04-23 15:39:53 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-04-23 15:40:15 +0100 |
commit | aebb17dc75f60edc1817d670f978b71d8f327228 (patch) | |
tree | 735e060afaae0fec204f078aed53202d49db70f6 /compat/imsg.c | |
parent | c48440fd40992bab1ead8ec5aeadba5ba073359e (diff) | |
download | rtmux-aebb17dc75f60edc1817d670f978b71d8f327228.tar.gz rtmux-aebb17dc75f60edc1817d670f978b71d8f327228.tar.bz2 rtmux-aebb17dc75f60edc1817d670f978b71d8f327228.zip |
Sync imsg from OpenBSD.
Diffstat (limited to 'compat/imsg.c')
-rw-r--r-- | compat/imsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/imsg.c b/compat/imsg.c index 85f13370..54ac7e56 100644 --- a/compat/imsg.c +++ b/compat/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.15 2017/04/11 09:57:19 reyk Exp $ */ +/* $OpenBSD: imsg.c,v 1.16 2017/12/14 09:27:44 kettenis Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -30,7 +30,7 @@ int imsg_fd_overhead = 0; -int imsg_get_fd(struct imsgbuf *); +static int imsg_get_fd(struct imsgbuf *); void imsg_init(struct imsgbuf *ibuf, int fd) @@ -266,7 +266,7 @@ imsg_free(struct imsg *imsg) freezero(imsg->data, imsg->hdr.len - IMSG_HEADER_SIZE); } -int +static int imsg_get_fd(struct imsgbuf *ibuf) { int fd; |