[asterisk-commits] twilson: branch twilson/config_work r367839 - in /team/twilson/config_work: ....

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 29 11:46:54 CDT 2012


Author: twilson
Date: Tue May 29 11:46:50 2012
New Revision: 367839

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=367839
Log:
Trailing whitespace and gccversion cruft removal

Modified:
    team/twilson/config_work/Makefile
    team/twilson/config_work/apps/app_skel.c
    team/twilson/config_work/tests/test_config.c

Modified: team/twilson/config_work/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/twilson/config_work/Makefile?view=diff&rev=367839&r1=367838&r2=367839
==============================================================================
--- team/twilson/config_work/Makefile (original)
+++ team/twilson/config_work/Makefile Tue May 29 11:46:50 2012
@@ -186,9 +186,6 @@
 _ASTCFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
 ADDL_TARGETS=
 
-GCCVERSION := $(shell gcc -dumpversion)
-GCCMAJORVERSION := $(word 1, $(subst ., ,$(GCCVERSION)))
-GCCMINORVERSION := $(word 2, $(subst ., ,$(GCCVERSION)))
 ifeq ($(AST_DEVMODE),yes)
   _ASTCFLAGS+=-Werror
   _ASTCFLAGS+=-Wunused

Modified: team/twilson/config_work/apps/app_skel.c
URL: http://svnview.digium.com/svn/asterisk/team/twilson/config_work/apps/app_skel.c?view=diff&rev=367839&r1=367838&r2=367839
==============================================================================
--- team/twilson/config_work/apps/app_skel.c (original)
+++ team/twilson/config_work/apps/app_skel.c Tue May 29 11:46:50 2012
@@ -121,7 +121,7 @@
 /*! \brief Object to hold level config information.
  * \note This object should hold a reference to an an object that holds state across reloads.
  * The other fields are just examples of the kind of data that might be stored in an level.
- */ 
+ */
 struct skel_level {
 	AST_DECLARE_STRING_FIELDS(
 		AST_STRING_FIELD(name);      /*!< The name of the level */

Modified: team/twilson/config_work/tests/test_config.c
URL: http://svnview.digium.com/svn/asterisk/team/twilson/config_work/tests/test_config.c?view=diff&rev=367839&r1=367838&r2=367839
==============================================================================
--- team/twilson/config_work/tests/test_config.c (original)
+++ team/twilson/config_work/tests/test_config.c Tue May 29 11:46:50 2012
@@ -425,7 +425,7 @@
 	RAII_VAR(struct test_config *, cfg, NULL, ao2_cleanup);
 	RAII_VAR(struct test_item *, item, NULL, ao2_cleanup);
 	RAII_VAR(struct test_item *, item_defaults, NULL, ao2_cleanup);
-		
+
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = "config_options_test";
@@ -526,7 +526,7 @@
 	arr[2] = cfg->global_defaults;
 	arr[3] = item_defaults;
 	/* Test global and item against configs, global_defaults and item_defaults against defaults */
-	
+
 #define NOT_EQUAL_FAIL(field)  \
 	if (arr[x]->field != control->field) { \
 		ast_test_status_update(test, "%s di not match: %d != %d with x = %d\n", #field, arr[x]->field, control->field, x); \




More information about the asterisk-commits mailing list