aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_rlcmac.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-13 21:36:43 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-13 21:36:43 +0000
commit020230e865033fb9ab0e2f7db0b5eee6d8fa88a2 (patch)
tree5f4b748dd89dd77d240ab313962ec756a94dcaa9 /epan/dissectors/packet-gsm_rlcmac.c
parent7f5567a6058cc306e7257eedfe11ab1c96ad7abc (diff)
f_k() is used outside packet-gsm_a_rr.c, so it can't be static.
In a source file that defines external functions, the header file that declares the functions must be included, in order to make sure the declarations match the function signature. Make it so - which means creating the header file in the first place. That means f_k() doesn't need to, and shouldn't be, declared in packet-gsm_rlcmac.h. Include packet-gsm_a_rr.h in packet-gsm_rlcmac.c. svn path=/trunk/; revision=54724
Diffstat (limited to 'epan/dissectors/packet-gsm_rlcmac.c')
-rw-r--r--epan/dissectors/packet-gsm_rlcmac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_rlcmac.c b/epan/dissectors/packet-gsm_rlcmac.c
index 9affd4748f..cf2b942879 100644
--- a/epan/dissectors/packet-gsm_rlcmac.c
+++ b/epan/dissectors/packet-gsm_rlcmac.c
@@ -56,6 +56,8 @@
#include <epan/wmem/wmem.h>
#include "packet-csn1.h"
+#include "packet-gsm_a_rr.h"
+
#include "packet-gsm_rlcmac.h"
void proto_register_gsm_rlcmac(void);