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:
Michael Jerris 2006-03-24 21:28:46 +00:00
parent ef93c12fd1
commit 07a6d60efb
4 changed files with 11 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -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)
///\}
#ifdef __cplusplus
}
#endif
#endif

View File

@ -500,4 +500,8 @@ struct switch_api_interface {
const struct switch_api_interface *next;
};
#ifdef __cplusplus
}
#endif
#endif