aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-12-18 18:57:41 +0100
committerHarald Welte <laforge@gnumonks.org>2018-12-21 12:38:47 +0000
commitb361ea7037a306621a0308a35c700dc1d76b7f11 (patch)
tree2512d10b3087af2ce1478e1d5991ef7513f52531 /include
parentb12b6cb006be94d610cabc1a3bb5fe39a76140e1 (diff)
use vty->type instead of local variable
We can check if we're parsing the config file by checking whether vty->type equals VTY_FILE. This avoids the use of an extra local variable to track the parsing state. Change-Id: I85161575e025f7c389832427a434bd8e2d6ecc75 Fixes: 1051c4208834c22d344dd92d25addfd8e5d95993 Related: OS#3355
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/vty.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/osmocom/msc/vty.h b/include/osmocom/msc/vty.h
index 60a36d7ae..6a55df776 100644
--- a/include/osmocom/msc/vty.h
+++ b/include/osmocom/msc/vty.h
@@ -31,6 +31,4 @@ void msc_vty_init(struct gsm_network *msc_network);
struct gsm_network *gsmnet_from_vty(struct vty *vty);
-extern bool msc_parsing_config_file;
-
#endif