summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2021-01-13 09:56:28 +0000
committerclaudio <claudio@openbsd.org>2021-01-13 09:56:28 +0000
commit692fa7862f83fc8593156c738d256d4359299ab0 (patch)
tree1b2eb8b68c037eea840830df4ca2c4a437a3c995
parentLink pflog(4) instances to `pflog_ifs' list instead of allocating (diff)
downloadwireguard-openbsd-692fa7862f83fc8593156c738d256d4359299ab0.tar.xz
wireguard-openbsd-692fa7862f83fc8593156c738d256d4359299ab0.zip
Make imsg.h a bit more self-contained by prototyping struct iovec.
OK martijn@ mvs@ deraadt@
-rw-r--r--lib/libutil/imsg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/imsg.h b/lib/libutil/imsg.h
index 5b092cfcfd5..9e19bedb893 100644
--- a/lib/libutil/imsg.h
+++ b/lib/libutil/imsg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.h,v 1.5 2019/01/20 02:50:03 bcook Exp $ */
+/* $OpenBSD: imsg.h,v 1.6 2021/01/13 09:56:28 claudio Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -78,6 +78,7 @@ struct imsg {
void *data;
};
+struct iovec;
/* buffer.c */
struct ibuf *ibuf_open(size_t);