mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
add missing } for extern C
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@915 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -111,7 +111,7 @@ struct iax_event {
|
||||
struct iax_session *session; /* Applicable session */
|
||||
int datalen; /* Length of raw data */
|
||||
struct iax_ies ies; /* IE's for IAX2 frames */
|
||||
unsigned char data[0]; /* Raw data if applicable */
|
||||
unsigned char data[]; /* Raw data if applicable */
|
||||
};
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
||||
+2
-2
@@ -71,7 +71,7 @@ struct iax_full_hdr {
|
||||
unsigned short seqno; /* Packet number */
|
||||
char type; /* Frame type */
|
||||
unsigned char csub; /* Compressed subclass */
|
||||
char data[0];
|
||||
char data[];
|
||||
};
|
||||
|
||||
/* Mini header is used only for voice frames -- delivered unreliably */
|
||||
@@ -80,7 +80,7 @@ struct iax_mini_hdr {
|
||||
unsigned short ts; /* 16-bit Timestamp (high 16 bits from last IAX_full_hdr) */
|
||||
/* Frametype implicitly VOICE_FRAME */
|
||||
/* subclass implicit from last IAX_full_hdr */
|
||||
char data[0];
|
||||
char data[];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user