CP2179: Fix warning: no previous prototype for proto_register_cp2179 [-Wmissing-prototypes]

Move on top also prototype of proto_reg_handoff_cp2179

Change-Id: I00f23a88606426acd17d63104630a885682d3c02
Reviewed-on: https://code.wireshark.org/review/4452
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2014-10-04 16:49:49 +02:00 committed by Anders Broman
parent ebfe8f6d28
commit f1ba16a2dc
1 changed files with 2 additions and 2 deletions

View File

@ -62,6 +62,8 @@ F = 16-bit CRC
#include <epan/reassemble.h>
#include <epan/expert.h>
void proto_reg_handoff_cp2179(void);
void proto_register_cp2179(void);
/* CP2179 function codes */
#define BASIC_SCAN 0x00
@ -985,8 +987,6 @@ dissect_cp2179(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
return length;
}
void proto_reg_handoff_cp2179(void);
void
proto_register_cp2179(void)
{