]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
skinny typedef
authorNathan Neulinger <nneul@neulinger.org>
Fri, 12 Jul 2013 16:15:46 +0000 (11:15 -0500)
committerNathan Neulinger <nneul@neulinger.org>
Fri, 12 Jul 2013 16:15:46 +0000 (11:15 -0500)
src/mod/endpoints/mod_skinny/skinny_protocol.c
src/mod/endpoints/mod_skinny/skinny_protocol.h

index fa27bd1de3456f236d8639ca1b608642a6325a00..3e1748d6e2ac1e3fd85a2b695309dc1f28729f72 100644 (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:
index f4f89f4c6bb43128613ccbda3e5f61ffeca396e0..5127b1b54b15e4841d7c6b23747fd4c531407cf2 100644 (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 */