aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-02-20 11:18:00 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-02-20 11:19:32 +0100
commit6ab5d4f861c05ef57cde423cf2ddf0699940b4fc (patch)
tree68d44dde25bf518ae13f2bf8d76c013af21ad1ae /openbsc
parent34235294d75d9e0ccd5dfffe5183b5553af2223e (diff)
trau: Fix compiler warning about decoded_trau_frame
In file included from bsc_api.c:34:0: ../../include/openbsc/trau_mux.h:62:15: warning: ‘struct decoded_trau_frame’ declared inside parameter list [enabled by default] const struct decoded_trau_frame *tf); ^ ../../include/openbsc/trau_mux.h:62:15: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] ../../include/openbsc/trau_mux.h:64:15: warning: ‘struct decoded_trau_frame’ declared inside parameter list [enabled by default] const struct decoded_trau_frame *tf); ^ ../../include/openbsc/trau_mux.h:66:2: warning: ‘struct decoded_trau_frame’ declared inside parameter list [enabled by default] const unsigned char *data); ^ ../../include/openbsc/trau_mux.h:68:2: warning: ‘struct decoded_trau_frame’ declared inside parameter list [enabled by default] const unsigned char *data);
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/include/openbsc/trau_mux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/trau_mux.h b/openbsc/include/openbsc/trau_mux.h
index d211d8d74..75c359b56 100644
--- a/openbsc/include/openbsc/trau_mux.h
+++ b/openbsc/include/openbsc/trau_mux.h
@@ -32,6 +32,8 @@
#include <openbsc/gsm_data.h>
#include <openbsc/mncc.h>
+struct decoded_trau_frame;
+
/* map a TRAU mux map entry */
int trau_mux_map(const struct gsm_e1_subslot *src,
const struct gsm_e1_subslot *dst);