gprs_ns2: drop prefix of all internal exposed function
All functions which are exposed by gprs_ns2_internal.h should not contain
the public prefix gprs_. Internal function should only contain ns2_ prefix.
Change-Id: Icecc5a918902cd10efac72bbac20780d39aab272
diff --git a/src/gb/gprs_ns2_vty2.c b/src/gb/gprs_ns2_vty2.c
index db59717..43dd263 100644
--- a/src/gb/gprs_ns2_vty2.c
+++ b/src/gb/gprs_ns2_vty2.c
@@ -391,7 +391,7 @@
vty_out(vty, " nse %u%s", nse->nsei, VTY_NEWLINE);
switch (nse->dialect) {
case NS2_DIALECT_SNS:
- gprs_ns2_sns_write_vty(vty, nse);
+ ns2_sns_write_vty(vty, nse);
break;
default:
llist_for_each_entry(nsvc, &nse->nsvc, list) {
@@ -1349,7 +1349,7 @@
vty_out(vty, "NSEI %05u: %s, %s%s", nse->nsei, gprs_ns2_lltype_str(nse->ll),
nse->alive ? "ALIVE" : "DEAD", VTY_NEWLINE);
- gprs_ns2_sns_dump_vty(vty, " ", nse, stats);
+ ns2_sns_dump_vty(vty, " ", nse, stats);
llist_for_each_entry(nsvc, &nse->nsvc, list) {
if (persistent_only) {
if (nsvc->persistent)
@@ -1469,7 +1469,7 @@
static int nsvc_force_unconf_cb(struct gprs_ns2_vc *nsvc, void *ctx)
{
- gprs_ns2_vc_force_unconfigured(nsvc);
+ ns2_vc_force_unconfigured(nsvc);
return 0;
}