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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to