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:
parent
ef93c12fd1
commit
07a6d60efb
|
@ -111,7 +111,7 @@ struct iax_event {
|
||||||
struct iax_session *session; /* Applicable session */
|
struct iax_session *session; /* Applicable session */
|
||||||
int datalen; /* Length of raw data */
|
int datalen; /* Length of raw data */
|
||||||
struct iax_ies ies; /* IE's for IAX2 frames */
|
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)
|
#if defined(__cplusplus)
|
||||||
|
|
|
@ -71,7 +71,7 @@ struct iax_full_hdr {
|
||||||
unsigned short seqno; /* Packet number */
|
unsigned short seqno; /* Packet number */
|
||||||
char type; /* Frame type */
|
char type; /* Frame type */
|
||||||
unsigned char csub; /* Compressed subclass */
|
unsigned char csub; /* Compressed subclass */
|
||||||
char data[0];
|
char data[];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Mini header is used only for voice frames -- delivered unreliably */
|
/* 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) */
|
unsigned short ts; /* 16-bit Timestamp (high 16 bits from last IAX_full_hdr) */
|
||||||
/* Frametype implicitly VOICE_FRAME */
|
/* Frametype implicitly VOICE_FRAME */
|
||||||
/* subclass implicit from last IAX_full_hdr */
|
/* subclass implicit from last IAX_full_hdr */
|
||||||
char data[0];
|
char data[];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -288,4 +288,8 @@ SWITCH_DECLARE(void) switch_event_deliver(switch_event **event);
|
||||||
#define switch_event_fire_data(event, data) switch_event_fire_detailed(__FILE__, (char * )__FUNCTION__, __LINE__, event, data)
|
#define switch_event_fire_data(event, data) switch_event_fire_detailed(__FILE__, (char * )__FUNCTION__, __LINE__, event, data)
|
||||||
///\}
|
///\}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -500,4 +500,8 @@ struct switch_api_interface {
|
||||||
const struct switch_api_interface *next;
|
const struct switch_api_interface *next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue