summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/smi.h
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2023-12-21 12:43:32 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2023-12-21 12:43:32 +0000
commit3f9665fc3ef00c867634bdc2d50184e516db2e1d (patch)
tree677cf98712a5ecbe8f39dd736f58f96b0aa5d29a /usr.sbin/snmpd/smi.h
parent48436bae05b8923d61ee84ce2c88dd61800fc01f (diff)
Clean up snmpd's header situation.
With the help of tb@ and include-what-you-use. OK tb@
Diffstat (limited to 'usr.sbin/snmpd/smi.h')
-rw-r--r--usr.sbin/snmpd/smi.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/snmpd/smi.h b/usr.sbin/snmpd/smi.h
index 980dd7da1ef..c6e31c0cceb 100644
--- a/usr.sbin/snmpd/smi.h
+++ b/usr.sbin/snmpd/smi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smi.h,v 1.3 2023/11/08 20:02:52 martijn Exp $ */
+/* $OpenBSD: smi.h,v 1.4 2023/12/21 12:43:31 martijn Exp $ */
/*
* Copyright (c) 2021 Martijn van Duren <martijn@openbsd.org>
@@ -16,8 +16,10 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <ber.h>
-#include <stdint.h>
+#include <sys/types.h>
+
+struct ber_element;
+struct ber_oid;
char *smi_oid2string(struct ber_oid *, char *, size_t, size_t);
u_long smi_getticks(void);