Revision: 4871 http://geany.svn.sourceforge.net/geany/?rev=4871&view=rev Author: ntrel Date: 2010-05-03 15:43:07 +0000 (Mon, 03 May 2010)
Log Message: ----------- Move debug-only variable cl into printfcmds().
Modified Paths: -------------- trunk/src/build.c
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2010-05-03 15:31:11 UTC (rev 4870) +++ trunk/src/build.c 2010-05-03 15:43:07 UTC (rev 4871) @@ -201,18 +201,17 @@ #endif static gboolean printbuildcmds = PRINTBUILDCMDS;
-static GeanyBuildCommand **cl[GEANY_GBG_COUNT][GEANY_BCS_COUNT] = { - /* GEANY_BCS_DEF, GEANY_BCS_FT, GEANY_BCS_HOME_FT, GEANY_BCS_PREF, - * GEANY_BCS_FT_PROJ, GEANY_BCS_PROJ */ - { &ft_def, NULL, NULL, NULL, NULL, NULL }, - { &non_ft_def, NULL, NULL, &non_ft_pref, NULL, &non_ft_proj }, - { &exec_def, NULL, NULL, &exec_pref, NULL, &exec_proj } -};
- /* for debug only, print the commands structures in priority order */ static void printfcmds(void) { + GeanyBuildCommand **cl[GEANY_GBG_COUNT][GEANY_BCS_COUNT] = { + /* GEANY_BCS_DEF, GEANY_BCS_FT, GEANY_BCS_HOME_FT, GEANY_BCS_PREF, + * GEANY_BCS_FT_PROJ, GEANY_BCS_PROJ */ + { &ft_def, NULL, NULL, NULL, NULL, NULL }, + { &non_ft_def, NULL, NULL, &non_ft_pref, NULL, &non_ft_proj }, + { &exec_def, NULL, NULL, &exec_pref, NULL, &exec_proj } + }; GeanyFiletype *ft = NULL; GeanyDocument *doc; gint i, j, k, l, m;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.