Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-08 09:46:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-08 09:46:00 +0400
commita6f3e15d6ec95e9649c08f50b41385ea293275e2 (patch)
tree88046e5b15d4f28a18236c99378e1361c8368f57 /intern/raskter
parent36db2a2cff58d3bd3dd0f7e8e0d2fbec36e32412 (diff)
- remove redundant NULL checks from mallocn's local linked list functions.
- minor changes to warning cleanup.
Diffstat (limited to 'intern/raskter')
-rw-r--r--intern/raskter/raskter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/raskter/raskter.c b/intern/raskter/raskter.c
index 26fec52dc80..9bf1779a608 100644
--- a/intern/raskter/raskter.c
+++ b/intern/raskter/raskter.c
@@ -170,7 +170,7 @@ static void preprocess_all_edges(struct r_fill_context *ctx, struct poly_vert *v
* for speed, but waiting on final design choices for curve-data before eliminating data the DEM code will need
* if it ends up being coupled with this function.
*/
-int rast_scan_fill(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts)
+static int rast_scan_fill(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts)
{
int x_curr; /* current pixel position in X */
int y_curr; /* current scan line being drawn */
@@ -426,9 +426,9 @@ int PLX_raskterize(float (*base_verts)[2], int num_base_verts,
* for speed, but waiting on final design choices for curve-data before eliminating data the DEM code will need
* if it ends up being coupled with this function.
*/
-int rast_scan_feather(struct r_fill_context *ctx,
- float (*base_verts_f)[2], int num_base_verts,
- struct poly_vert *feather_verts, float (*feather_verts_f)[2], int num_feather_verts)
+static int rast_scan_feather(struct r_fill_context *ctx,
+ float (*base_verts_f)[2], int num_base_verts,
+ struct poly_vert *feather_verts, float (*feather_verts_f)[2], int num_feather_verts)
{
int x_curr; /* current pixel position in X */
int y_curr; /* current scan line being drawn */