skinny typedef

This commit is contained in:
Nathan Neulinger 2013-07-12 11:15:46 -05:00
parent 37e6195e35
commit 5c9bb344ab
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@
/*****************************************************************************/
/* SKINNY FUNCTIONS */
/*****************************************************************************/
char* skinny_codec2string(enum skinny_codecs skinnycodec)
char* skinny_codec2string(skinny_codecs skinnycodec)
{
switch (skinnycodec) {
case SKINNY_CODEC_ALAW_64K:

View File

@ -728,7 +728,7 @@ typedef struct skinny_message skinny_message_t;
/*****************************************************************************/
/* SKINNY TYPES */
/*****************************************************************************/
enum skinny_codecs {
typedef enum {
SKINNY_CODEC_NONE = 0,
SKINNY_CODEC_NONSTANDARD = 1,
SKINNY_CODEC_ALAW_64K = 2,
@ -768,9 +768,9 @@ enum skinny_codecs {
SKINNY_CODEC_T120 = 105,
SKINNY_CODEC_H224 = 106,
SKINNY_CODEC_RFC2833_DYNPAYLOAD = 257
};
} skinny_codecs;
char* skinny_codec2string(enum skinny_codecs skinnycodec);
char* skinny_codec2string(skinny_codecs skinnycodec);
/*****************************************************************************/
/* SKINNY FUNCTIONS */