summaryrefslogtreecommitdiff
path: root/lib/libutil/imsg.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-14 09:27:45 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-14 09:27:45 +0000
commite93086282801803ff2abe10ac9b3fc0595b58421 (patch)
treeeddbdb846b23fe316b5a199f8d8f7fa4834596ef /lib/libutil/imsg.c
parentd9b42e1a0a684ebb4c225234722012e8b9070644 (diff)
Make a few internal symbols static and add a Symbols.map version script
to control which symbols are exported from the shared library. ok guenther@, deraadt@, jca@
Diffstat (limited to 'lib/libutil/imsg.c')
-rw-r--r--lib/libutil/imsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/imsg.c b/lib/libutil/imsg.c
index 89d16ae8fc9..c0ff22978e0 100644
--- a/lib/libutil/imsg.c
+++ b/lib/libutil/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;