[asterisk-commits] twilson: branch twilson/config_work r366503 - /team/twilson/config_work/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 14 17:59:02 CDT 2012
Author: twilson
Date: Mon May 14 17:58:58 2012
New Revision: 366503
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=366503
Log:
Get rid of now-useless enum
Modified:
team/twilson/config_work/main/udptl.c
Modified: team/twilson/config_work/main/udptl.c
URL: http://svnview.digium.com/svn/asterisk/team/twilson/config_work/main/udptl.c?view=diff&rev=366503&r1=366502&r2=366503
==============================================================================
--- team/twilson/config_work/main/udptl.c (original)
+++ team/twilson/config_work/main/udptl.c Mon May 14 17:58:58 2012
@@ -186,14 +186,7 @@
unsigned int use_even_ports;
};
-enum {
- UDPTL_GENERAL = 0,
-
- /* Must be last */
- UDPTL_NUM_GLOBALS,
-} global_opt_type;
-
-static AO2_GLOBAL_OBJ_STATIC(globals, UDPTL_NUM_GLOBALS);
+static AO2_GLOBAL_OBJ_STATIC(globals, 1);
struct udptl_config {
struct udptl_global_options *general;
More information about the asterisk-commits
mailing list