From: <and...@us...> - 2011-10-28 13:06:34
|
Revision: 12009 http://plplot.svn.sourceforge.net/plplot/?rev=12009&view=rev Author: andrewross Date: 2011-10-28 13:06:27 +0000 (Fri, 28 Oct 2011) Log Message: ----------- Style previous changes. Modified Paths: -------------- trunk/bindings/f95/sccont.c trunk/bindings/tcl/tclAPI.c trunk/bindings/tk/plserver.c trunk/bindings/tk/tkMain.c trunk/bindings/tk-x-plat/plplotter.c trunk/drivers/wxwidgets.cpp trunk/drivers/wxwidgets_app.cpp trunk/src/plshade.c Modified: trunk/bindings/f95/sccont.c =================================================================== --- trunk/bindings/f95/sccont.c 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/bindings/f95/sccont.c 2011-10-28 13:06:27 UTC (rev 12009) @@ -623,7 +623,7 @@ } void -PLSHADES7( PLFLT *z, PLINT *nx, PLINT *ny, const char * PL_UNUSED( defined) , +PLSHADES7( PLFLT *z, PLINT *nx, PLINT *ny, const char * PL_UNUSED( defined ), PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax, PLFLT *clevel, PLINT *nlevel, PLINT *fill_width, PLINT *cont_color, PLINT *cont_width, PLFLT *ftr, PLINT *lx ) Modified: trunk/bindings/tcl/tclAPI.c =================================================================== --- trunk/bindings/tcl/tclAPI.c 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/bindings/tcl/tclAPI.c 2011-10-28 13:06:27 UTC (rev 12009) @@ -2580,9 +2580,9 @@ // wrapping specifier, as in plcont. So the new command looks like: // // *INDENT-OFF* -// plshade z xmin xmax ymin ymax -// sh_min sh_max sh_cmap sh_color sh_width -// min_col min_wid max_col max_wid +// plshade z xmin xmax ymin ymax +// sh_min sh_max sh_cmap sh_color sh_width +// min_col min_wid max_col max_wid // rect [[pltr x y] | NULL ] [wrap] // *INDENT-ON* //-------------------------------------------------------------------------- @@ -2902,7 +2902,7 @@ // So the new command looks like: // // *INDENT-OFF* -// plshades z xmin xmax ymin ymax +// plshades z xmin xmax ymin ymax // clevel, fill_width, cont_color, cont_width // rect [[pltr x y] | NULL] [wrap] // *INDENT-ON* @@ -3509,7 +3509,7 @@ } else { - size_t len; + size_t len; tcl_xform_interp = interp; tcl_xform_procname = plstrdup( argv[1] ); Modified: trunk/bindings/tk/plserver.c =================================================================== --- trunk/bindings/tk/plserver.c 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/bindings/tk/plserver.c 2011-10-28 13:06:27 UTC (rev 12009) @@ -252,7 +252,7 @@ //-------------------------------------------------------------------------- static int -plExitCmd( ClientData PL_UNUSED ( clientData ), Tcl_Interp *interp, int argc, char **argv ) +plExitCmd( ClientData PL_UNUSED( clientData ), Tcl_Interp *interp, int argc, char **argv ) { int value = 0; Modified: trunk/bindings/tk/tkMain.c =================================================================== --- trunk/bindings/tk/tkMain.c 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/bindings/tk/tkMain.c 2011-10-28 13:06:27 UTC (rev 12009) @@ -471,7 +471,7 @@ // ARGSUSED static void -StdinProc( ClientData PL_UNUSED( clientData ), int PL_UNUSED( mask ) ) +StdinProc( ClientData PL_UNUSED( clientData ), int PL_UNUSED( mask ) ) { #define BUFFER_SIZE 4000 char input[BUFFER_SIZE + 1]; Modified: trunk/bindings/tk-x-plat/plplotter.c =================================================================== --- trunk/bindings/tk-x-plat/plplotter.c 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/bindings/tk-x-plat/plplotter.c 2011-10-28 13:06:27 UTC (rev 12009) @@ -1721,7 +1721,7 @@ char c3; int result = TCL_OK; char cmdlist[] = "plgcmap0 plgcmap1 plscmap0 plscmap1 plscol0 plscol1"; - char * argv_cp; + char * argv_cp; #ifdef DEBUG if ( pls->debug ) @@ -1837,7 +1837,7 @@ for ( i = 0; i < pls->ncol0; i++ ) { argv_cp = plstrdup( argv[2 + i] ); - col = strtok( argv_cp , " " ); + col = strtok( argv_cp, " " ); if ( col == NULL ) break; @@ -1867,9 +1867,9 @@ } argv_cp = plstrdup( argv[2] ); - col = strtok( argv_cp, " " ); - pos = strtok( NULL, " " ); - rev = strtok( NULL, " " ); + col = strtok( argv_cp, " " ); + pos = strtok( NULL, " " ); + rev = strtok( NULL, " " ); for ( i = 0; i < ncp1; i++ ) { if ( col == NULL ) Modified: trunk/drivers/wxwidgets.cpp =================================================================== --- trunk/drivers/wxwidgets.cpp 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/drivers/wxwidgets.cpp 2011-10-28 13:06:27 UTC (rev 12009) @@ -78,7 +78,7 @@ fprintf( stderr, "\n" ); va_end( args ); fflush( stderr ); -#else +#else (void) fmt; // Cast to void to silence compiler warnings about unused paraemeter #endif } @@ -99,7 +99,7 @@ fprintf( stderr, "\n" ); va_end( args ); fflush( stderr ); -#else +#else (void) fmt; // Cast to void to silence compiler warnings about unused paraemeter #endif } Modified: trunk/drivers/wxwidgets_app.cpp =================================================================== --- trunk/drivers/wxwidgets_app.cpp 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/drivers/wxwidgets_app.cpp 2011-10-28 13:06:27 UTC (rev 12009) @@ -300,7 +300,7 @@ } size_t index = event.GetId() - wxPL_Save; - if ( ( event.GetId() >= wxPL_Save ) && ( index < sizeof ( dev_entries ) / sizeof ( dev_entry ) ) ) + if ( ( event.GetId() >= wxPL_Save ) && ( index < sizeof ( dev_entries ) / sizeof ( dev_entry ) ) ) { int width = 800; int height = 600; Modified: trunk/src/plshade.c =================================================================== --- trunk/src/plshade.c 2011-10-28 12:50:46 UTC (rev 12008) +++ trunk/src/plshade.c 2011-10-28 13:06:27 UTC (rev 12009) @@ -395,7 +395,7 @@ PLPointer pltr_data ) { plshade_int( f2eval, f2eval_data, c2eval, c2eval_data, - NULL, + NULL, nx, ny, xmin, xmax, ymin, ymax, shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color, min_width, max_color, max_width, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |