aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-18 06:44:24 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-18 06:44:24 +0800
commitadb6e1cce10570a1b4ea1f55fce4813170c0b703 (patch)
treefe32cfbce4f17ab1e3ccfd29c35ac78424192255 /openbsc/src/nat
parent212e1052881780a1f454a95b71ea062791710afa (diff)
janitor: Move the * to the variable name
Diffstat (limited to 'openbsc/src/nat')
-rw-r--r--openbsc/src/nat/bsc_filter.c2
-rw-r--r--openbsc/src/nat/bsc_nat.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/nat/bsc_filter.c b/openbsc/src/nat/bsc_filter.c
index 233f515a4..e968fa22b 100644
--- a/openbsc/src/nat/bsc_filter.c
+++ b/openbsc/src/nat/bsc_filter.c
@@ -73,7 +73,7 @@ static struct bsc_pkt_filter white_list[] = {
{ NAT_IPAC_PROTO_MGCP, ALLOW_ANY, ALLOW_ANY, ALLOW_ANY, FILTER_TO_BOTH },
};
-struct bsc_nat_parsed* bsc_nat_parse(struct msgb *msg)
+struct bsc_nat_parsed *bsc_nat_parse(struct msgb *msg)
{
struct sccp_parse_result result;
struct bsc_nat_parsed *parsed;
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 23b811117..2c0851827 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -709,7 +709,7 @@ static void ipaccess_close_bsc(void *data)
static void ipaccess_auth_bsc(struct tlv_parsed *tvp, struct bsc_connection *bsc)
{
struct bsc_config *conf;
- const char* token = (const char *) TLVP_VAL(tvp, IPAC_IDTAG_UNITNAME);
+ const char *token = (const char *) TLVP_VAL(tvp, IPAC_IDTAG_UNITNAME);
if (bsc->cfg) {
LOGP(DNAT, LOGL_ERROR, "Reauth on fd %d bsc nr %d\n",
@@ -1075,7 +1075,7 @@ static void print_help()
printf(" -l --local=IP. The local address of this BSC.\n");
}
-static void handle_options(int argc, char** argv)
+static void handle_options(int argc, char **argv)
{
while (1) {
int option_index = 0, c;
@@ -1180,7 +1180,7 @@ static struct vty_app_info vty_info = {
.is_config_node = bsc_vty_is_config_node,
};
-int main(int argc, char** argv)
+int main(int argc, char **argv)
{
int rc;