aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/input
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-04 20:38:46 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-05 20:26:26 +0100
commitd273529a8d89ba0d484b822e14f0244e3cce413d (patch)
tree24617836cdbbd7162ceb90fdd0d95a42e7ea66b6 /openbsc/src/input
parente1de69af7e1951b39fa52c4b704df29190c64569 (diff)
[dahdi] don't export private functions from lapd.c
Diffstat (limited to 'openbsc/src/input')
-rw-r--r--openbsc/src/input/lapd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/input/lapd.c b/openbsc/src/input/lapd.c
index 64e726e69..4f1445347 100644
--- a/openbsc/src/input/lapd.c
+++ b/openbsc/src/input/lapd.c
@@ -127,7 +127,7 @@ static lapd_tei_t tei_list[] = {
{-1},
};
-lapd_tei_t *teip_from_tei(int tei)
+static lapd_tei_t *teip_from_tei(int tei)
{
lapd_tei_t *p;
for (p = tei_list; p->tei != -1; p++) {
@@ -137,14 +137,14 @@ lapd_tei_t *teip_from_tei(int tei)
return NULL;
};
-void lapd_tei_set_state(lapd_tei_t * teip, int newstate)
+static void lapd_tei_set_state(lapd_tei_t * teip, int newstate)
{
DEBUG_LAPD("state change on tei %d: %s -> %s\n", teip->tei,
lapd_tei_states[teip->state], lapd_tei_states[newstate]);
teip->state = newstate;
};
-void lapd_tei_receive(uint8_t * data, int len, void *cbdata)
+static void lapd_tei_receive(uint8_t * data, int len, void *cbdata)
{
//DEBUG_LAPD("tei receive %p, %d\n", data, len);
int entity = data[0];