aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-19 21:58:48 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-19 22:00:38 +0200
commit7b6fc2e4802b84047bc47864c42ba2ab1b3c362d (patch)
treea45e786a156eea7bf3a12b81b6eafbb9f13d4063
parent4e862cbf4b3b438a07ea89438f4384bd10468ea9 (diff)
ipaccess: make some functions static that shouldn't be exportedv0.0.1
-rw-r--r--src/input/ipa.c4
-rw-r--r--src/input/ipaccess.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/input/ipa.c b/src/input/ipa.c
index ce1e6f2..b9bde68 100644
--- a/src/input/ipa.c
+++ b/src/input/ipa.c
@@ -167,7 +167,7 @@ int ipa_client_write_default_cb(struct ipa_client_link *link)
return 0;
}
-int ipa_client_fd_cb(struct osmo_fd *ofd, unsigned int what)
+static int ipa_client_fd_cb(struct osmo_fd *ofd, unsigned int what)
{
struct ipa_client_link *link = ofd->data;
int error, ret;
@@ -301,7 +301,7 @@ void ipa_client_link_send(struct ipa_client_link *link, struct msgb *msg)
link->ofd->when |= BSC_FD_WRITE;
}
-int ipa_server_fd_cb(struct osmo_fd *ofd, unsigned int what)
+static int ipa_server_fd_cb(struct osmo_fd *ofd, unsigned int what)
{
int ret;
struct sockaddr_in sa;
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 5f35ab6..602aded 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -531,7 +531,7 @@ static int handle_ts1_write(struct osmo_fd *bfd)
return __handle_ts1_write(bfd, line);
}
-int ipaccess_bts_write_cb(struct ipa_client_link *link)
+static int ipaccess_bts_write_cb(struct ipa_client_link *link)
{
struct e1inp_line *line = link->line;