[Olsr-dev] [PATCH v1 13/44] txtinfo: move ipc_print_version function up a bit
Ferry Huberts
(spam-protected)
Fri Nov 27 10:43:06 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
lib/txtinfo/src/olsrd_txtinfo.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/txtinfo/src/olsrd_txtinfo.c b/lib/txtinfo/src/olsrd_txtinfo.c
index e6dfa38..f286644 100644
--- a/lib/txtinfo/src/olsrd_txtinfo.c
+++ b/lib/txtinfo/src/olsrd_txtinfo.c
@@ -724,13 +724,14 @@ static void ipc_print_sgw(struct autobuf *abuf) {
#endif /* __linux__ */
}
+static void ipc_print_version(struct autobuf *abuf) {
+ abuf_appendf(abuf, "Version: %s (built on %s on %s)\n", olsrd_version, build_date, build_host);
+}
+
static void ipc_print_olsrd_conf(struct autobuf *abuf) {
olsrd_write_cnf_autobuf(abuf, olsr_cnf);
}
-static void ipc_print_version(struct autobuf *abuf) {
- abuf_appendf(abuf, "Version: %s (built on %s on %s)\n", olsrd_version, build_date, build_host);
-}
static void ipc_print_interfaces(struct autobuf *abuf) {
const struct olsr_if *ifs;
abuf_puts(abuf, "Table: Interfaces\nName\tState\tMTU\tWLAN\tSrc-Adress\tMask\tDst-Adress\n");
--
2.5.0
More information about the Olsr-dev
mailing list