Wireshark-dev: [Wireshark-dev] implicite declaration when adding plugin !!
From: khemis haythem <[email protected]>
Date: Mon, 5 May 2014 15:48:39 +0100 (BST)

 
Khemis Haythem
Adresse : Boite Postale 101  4118, Mednine
GSM : +216 55 69 19 90
Statut : Élève ingénieur 
Spécialité : Génie des Communications et des Réseaux 
Ecole : Ecole National d'Ingénieurs de Gabes
 hello, 
when i trying to add a plugin, i get this error message: 
packet-xxxx.c : In function 'dissect_xxxxx' : 
packet-xxxx.c : 1164:13: error: implicite declaration of function 'tvb_get_gunit16' [ -Werror=implicit-function-declaration]
packet-xxxx.c : 1177:1: error: implicite declaration of function  'tvb_get_gunit8' [ -Werror=implicit-function-declaration]
packet-xxxx.c :1204:12: error: invalid storage class for function 'dissect_xxxxreas' 
also i get another error that i can't solve it : 
packet-xxxx.c: 1204:41 error: declaration of 'tvb' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
packet-xxxx.c: 1204:41 error: declaration of 'pinfo' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
packet-xxxx.c: 1204:41 error: declaration of 'tree' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
packet-xxxx.c: 1204:41 error: declaration of 'data' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]

what can i do to solve these errors ? who can help me ? 
haythem.