Remove compiler warnings about missing prototypes and unused parms in tuxpaint magic/src/alien.c and magic/src/blind.c
completed by: Dominic Monroe
mentors: perepujal
Many magic tools in tuxpaint raises warnings about missing prototypes and unused parameters, those warnings "hides" others that may be more important. Add the declarations and remove the warnings about unused parameters in the files magic/src/alien.c and magic/src/blind.c
Deliver a diff with your modifications.
Please note that the style of the prototypes should be as in the style as
static void do_brick(magic_api * api, SDL_Surface * canvas, int x, int y, int w, int h);
and not as
static void do_brick(magic_api *, SDL_Surface *, int, int, int, int);
Of course, if you see warnings other than the targeted ones in those files, and you feel confident about solving them, you are welcome to do, but they don't count for this task.
See src/tp_magic.h and magic/src/tornado.c to see how you should deal with unused parms.
See getting CVS for instrucctions on getting the source code of tuxpaint.
If you have any doubts about tuxpaint not specific to this task you can ask in the tuxpaint-devel mailing list. Remember to suscribe before mailing or your mail will be delayed until the mail admin has time to aprove it.