[PATCH 3/7] tests: remove reference to internal headers in ipa_proxy_test

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

pablo at gnumonks.org pablo at gnumonks.org
Fri Sep 9 00:36:57 UTC 2011


From: Pablo Neira Ayuso <pablo at gnumonks.org>

This example has to compile out of the tree, including internal.h
is not required and using PACKAGE_VERSION here, which is internal
to the library, does not seem to me like a good idea.
---
 tests/ipa_proxy_test.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tests/ipa_proxy_test.c b/tests/ipa_proxy_test.c
index 6288a3a..2ed30ff 100644
--- a/tests/ipa_proxy_test.c
+++ b/tests/ipa_proxy_test.c
@@ -8,8 +8,6 @@
 #include <osmocom/vty/vty.h>
 #include <osmocom/vty/command.h>
 #include <osmocom/vty/telnet_interface.h>
-#include "internal.h"
-#include "config.h"
 
 static void *tall_test;
 
@@ -52,7 +50,7 @@ static enum node_type bsc_vty_go_parent(struct vty *vty)
 
 static struct vty_app_info vty_info = {
 	.name		= "ipa-proxy-test",
-	.version	= PACKAGE_VERSION,
+	.version	= "1.0",
 	.go_parent_cb	= bsc_vty_go_parent,
 	.is_config_node	= bsc_vty_is_config_node,
 };
-- 
1.7.2.5





More information about the OpenBSC mailing list