diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-13 21:14:20 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-13 21:14:20 +0000 |
commit | 04766017dfe4ddb9192f832f8caffa8187073333 (patch) | |
tree | c17f06d7d265c463f041e946f7bf0af1ab800fd1 /epan/dissectors/packet-assa_r3.c | |
parent | c63dfc2ab40e6fc13bb696d4d2220ed59df0b30e (diff) |
- [-Wmissing-prototypes]
- explicit casts.
svn path=/trunk/; revision=48282
Diffstat (limited to 'epan/dissectors/packet-assa_r3.c')
-rw-r--r-- | epan/dissectors/packet-assa_r3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-assa_r3.c b/epan/dissectors/packet-assa_r3.c index c7730c480c..f3dbed4060 100644 --- a/epan/dissectors/packet-assa_r3.c +++ b/epan/dissectors/packet-assa_r3.c @@ -34,6 +34,9 @@ #include <epan/expert.h> #include <epan/dissectors/packet-tcp.h> +void proto_register_r3(void); +void proto_reg_handoff_r3(void); + #if 0 /* */ /* System limits */ @@ -3455,7 +3458,7 @@ static const guint16 ccitt_16 [256] = static guint16 utilCrcCalculate (const void *ptr, guint16 len, guint16 crc) { - const guint8 *p = (guint8 *) ptr; + const guint8 *p = (const guint8 *) ptr; while (len--) crc = (guint16) ((crc << 8) ^ ccitt_16 [(crc >> 8) ^ *p++]); |