From: <arj...@us...> - 2010-02-21 10:48:15
|
Revision: 10807 http://plplot.svn.sourceforge.net/plplot/?rev=10807&view=rev Author: arjenmarkus Date: 2010-02-21 10:48:08 +0000 (Sun, 21 Feb 2010) Log Message: ----------- Consistent signature for two static functions Modified Paths: -------------- trunk/src/plfill.c trunk/src/plgradient.c Modified: trunk/src/plfill.c =================================================================== --- trunk/src/plfill.c 2010-02-18 22:55:28 UTC (rev 10806) +++ trunk/src/plfill.c 2010-02-21 10:48:08 UTC (rev 10807) @@ -1178,8 +1178,8 @@ /* Temporary until get rid of old code altogether. */ #define NEW_NOTPOINTINPOLYGON_CODE -int -notpointinpolygon( int n, const PLINT *x, const PLINT *y, PLINT xp, PLINT yp ) +static int +notpointinpolygon( PLINT n, const PLINT *x, const PLINT *y, PLINT xp, PLINT yp ) { #ifdef NEW_NOTPOINTINPOLYGON_CODE int i, im1, ifnotcrossed; Modified: trunk/src/plgradient.c =================================================================== --- trunk/src/plgradient.c 2010-02-18 22:55:28 UTC (rev 10806) +++ trunk/src/plgradient.c 2010-02-21 10:48:08 UTC (rev 10807) @@ -34,7 +34,7 @@ /* define where plshades plots gradient for software fallback for * gradient. */ -static int +static PLINT gradient_defined( PLFLT x, PLFLT y ); /*----------------------------------------------------------------------*\ @@ -240,7 +240,7 @@ plFree2dGrid( z, NX, NY ); } -PLINT +static PLINT gradient_defined( PLFLT x, PLFLT y ) { return plP_pointinpolygon( plsc->n_polygon, plsc->x_polygon, plsc->y_polygon, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |