ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] how to modify the source code?

From: "??????????" <237825552@xxxxxx>
Date: Thu, 27 Mar 2014 15:06:30 +0800
I want a add a file peformance.h in wireshark,in the file i define a struct ,below is the content of the file

#include <glib.h>
typedef struct peformance_s
{
gfloat time[100];
      gfloat delay[100];
guint32 packetSize[100];
guint32 payload;
guint32 index;
guint32 temp_size;
gfloat temp_time;
}peformance;
extern peformance* peformance_test;

the i add the head file in the .c file ,use it like this :

 peformance_test->index=0;

it occurs to me the error:
 expected ??=??, ??,??, ??;??, ??asm?? or ??__attribute__?? before ??->?? token