summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/ometric.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpctl/ometric.h')
-rw-r--r--usr.sbin/bgpctl/ometric.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/ometric.h b/usr.sbin/bgpctl/ometric.h
index a1f7d8f974c..bd90f2d8b3d 100644
--- a/usr.sbin/bgpctl/ometric.h
+++ b/usr.sbin/bgpctl/ometric.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ometric.h,v 1.2 2022/11/30 10:15:01 claudio Exp $ */
+/* $OpenBSD: ometric.h,v 1.3 2022/12/01 09:14:40 claudio Exp $ */
/*
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
@@ -44,5 +44,6 @@ void ometric_set_float(struct ometric *, double, struct olabels *);
void ometric_set_info(struct ometric *, const char **, const char **,
struct olabels *);
void ometric_set_state(struct ometric *, const char *, struct olabels *);
-void ometric_set_int_with_label(struct ometric *, uint64_t, const char *,
- const char *, struct olabels *);
+void ometric_set_int_with_labels(struct ometric *, uint64_t, const char **,
+ const char **, struct olabels *);
+#define OKV(...) (const char *[]){ __VA_ARGS__, NULL }