diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-13 23:05:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-13 23:05:44 +0000 |
commit | 2081d99c2d0c9ab91e7f91c19e731ac0fc27d513 (patch) | |
tree | 80f54cf071f2f3e51899a611af1387b1d6e6774f /plugins/wimax/wimax_compact_dlmap_ie_decoder.c | |
parent | d363ef35ca33e2127063664b7fc1e72088792e2d (diff) | |
download | wireshark-2081d99c2d0c9ab91e7f91c19e731ac0fc27d513.tar.gz |
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.
Also, declare proto_register_wimax_compact_dlmap_ie() early in
wimax_compact_dlmap_ie_decoder.c, similar to what we do in
wimax_copact_ulmap_ie_decoder.c.
svn path=/trunk/; revision=54739
Diffstat (limited to 'plugins/wimax/wimax_compact_dlmap_ie_decoder.c')
-rw-r--r-- | plugins/wimax/wimax_compact_dlmap_ie_decoder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/wimax/wimax_compact_dlmap_ie_decoder.c b/plugins/wimax/wimax_compact_dlmap_ie_decoder.c index e7a905f41e..675ed00ce3 100644 --- a/plugins/wimax/wimax_compact_dlmap_ie_decoder.c +++ b/plugins/wimax/wimax_compact_dlmap_ie_decoder.c @@ -34,6 +34,7 @@ #include <epan/packet.h> #include "crc.h" #include "wimax_tlv.h" +#include "wimax_compact_dlmap_ie_decoder.h" extern gint proto_wimax; @@ -46,6 +47,8 @@ extern gint proto_wimax; #define CID_TYPE_RCID7 2 #define CID_TYPE_RCID3 3 +void proto_register_wimax_compact_dlmap_ie(void); + /* Global Variables */ guint cid_type = 0; guint band_amc_subchannel_type = 0; |