From a9b82244de30cd90cc27c000e0d84d9144c8c1ab Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 31 Mar 2014 17:34:57 +0600 Subject: Code cleanup: fixes for function prototypes --- source/blender/blenkernel/intern/displist.c | 2 +- source/blender/editors/sculpt_paint/paint_undo.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 4b251396376..992e369a20f 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -1726,7 +1726,7 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba } } -void BKE_displist_make_curveTypes(Scene *scene, Object *ob, bool for_orco) +void BKE_displist_make_curveTypes(Scene *scene, Object *ob, const bool for_orco) { ListBase *dispbase; diff --git a/source/blender/editors/sculpt_paint/paint_undo.c b/source/blender/editors/sculpt_paint/paint_undo.c index cc97a2de6f4..f3946e30b83 100644 --- a/source/blender/editors/sculpt_paint/paint_undo.c +++ b/source/blender/editors/sculpt_paint/paint_undo.c @@ -294,9 +294,9 @@ static void undo_step_num(bContext *C, UndoStack *stack, int step) void ED_undo_paint_step_num(bContext *C, int type, int step) { if (type == UNDO_PAINT_IMAGE) - return undo_step_num(C, &ImageUndoStack, step); + undo_step_num(C, &ImageUndoStack, step); else if (type == UNDO_PAINT_MESH) - return undo_step_num(C, &MeshUndoStack, step); + undo_step_num(C, &MeshUndoStack, step); } static char *undo_stack_get_name(UndoStack *stack, int nr, int *active) -- cgit v1.2.3