diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-13 21:36:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-13 21:36:43 +0000 |
commit | 020230e865033fb9ab0e2f7db0b5eee6d8fa88a2 (patch) | |
tree | 5f4b748dd89dd77d240ab313962ec756a94dcaa9 /epan/dissectors/packet-gsm_rlcmac.h | |
parent | 7f5567a6058cc306e7257eedfe11ab1c96ad7abc (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.h')
-rw-r--r-- | epan/dissectors/packet-gsm_rlcmac.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_rlcmac.h b/epan/dissectors/packet-gsm_rlcmac.h index de2e8412ab..f52620996b 100644 --- a/epan/dissectors/packet-gsm_rlcmac.h +++ b/epan/dissectors/packet-gsm_rlcmac.h @@ -5241,8 +5241,6 @@ typedef struct } EnhancedMeasurementReport_t; -extern gint f_k(gint k, gint *w, gint range); - extern const guint8 gsm_rlcmac_gprs_cs_to_block_length[]; extern const guint8 gsm_rlcmac_egprs_header_type_to_dl_header_block_length[]; extern const guint8 gsm_rlcmac_egprs_header_type_to_ul_header_block_length[]; |