aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-03-28 19:24:21 +0200
committerHarald Welte <laforge@gnumonks.org>2011-03-28 20:00:45 +0200
commit70004fcc6dcd5dd979c10143872b2a136371e371 (patch)
treef369caea07ece8d5732995b610bbfeb56a5cb45d /include/osmocom
parentdc35dbee9534f832f629e99ee6a8a11d234cdd3d (diff)
vty: move vty_out_rate_ctr_group prototype to osmocom/vty/misc.h
Before this patch, it was in osmocom/core/rate_ctr.h
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/rate_ctr.h3
-rw-r--r--include/osmocom/vty/Makefile.am2
-rw-r--r--include/osmocom/vty/misc.h10
3 files changed, 11 insertions, 4 deletions
diff --git a/include/osmocom/core/rate_ctr.h b/include/osmocom/core/rate_ctr.h
index dba573d9..9efc23db 100644
--- a/include/osmocom/core/rate_ctr.h
+++ b/include/osmocom/core/rate_ctr.h
@@ -75,7 +75,4 @@ static inline void rate_ctr_inc(struct rate_ctr *ctr)
/* Initialize the counter module */
int rate_ctr_init(void *tall_ctx);
-struct vty;
-void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
- struct rate_ctr_group *ctrg);
#endif /* RATE_CTR_H */
diff --git a/include/osmocom/vty/Makefile.am b/include/osmocom/vty/Makefile.am
index d2f0616d..83d00107 100644
--- a/include/osmocom/vty/Makefile.am
+++ b/include/osmocom/vty/Makefile.am
@@ -1,4 +1,4 @@
osmovty_HEADERS = buffer.h command.h vector.h vty.h \
- telnet_interface.h logging.h
+ telnet_interface.h logging.h misc.h
osmovtydir = $(includedir)/osmocom/vty
diff --git a/include/osmocom/vty/misc.h b/include/osmocom/vty/misc.h
new file mode 100644
index 00000000..707f82fa
--- /dev/null
+++ b/include/osmocom/vty/misc.h
@@ -0,0 +1,10 @@
+#ifndef OSMO_VTY_MISC_H
+#define OSMO_VTY_MISC_H
+
+#include <osmocom/vty/vty.h>
+#include <osmocom/core/rate_ctr.h>
+
+void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
+ struct rate_ctr_group *ctrg);
+
+#endif