From 0d4560cb0305029fa5f0739670286176ab47cb65 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Fri, 3 Jul 2009 22:16:11 +0000 Subject: Accept FS #10244 by Wincent Balin: more pdbox work done for GSoC; also some keyword and line-ending fixes by me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21626 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pdbox/PDa/src/x_interface.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/pdbox/PDa/src/x_interface.c') diff --git a/apps/plugins/pdbox/PDa/src/x_interface.c b/apps/plugins/pdbox/PDa/src/x_interface.c index 227ca0f..9939c6b 100644 --- a/apps/plugins/pdbox/PDa/src/x_interface.c +++ b/apps/plugins/pdbox/PDa/src/x_interface.c @@ -30,6 +30,9 @@ static void print_bang(t_print *x) static void print_pointer(t_print *x, t_gpointer *gp) { +#ifdef ROCKBOX + (void) gp; +#endif post("%s(gpointer)", x->x_sym->s_name); } @@ -40,8 +43,12 @@ static void print_float(t_print *x, t_float f) static void print_list(t_print *x, t_symbol *s, int argc, t_atom *argv) { +#ifdef ROCKBOX + (void) s; +#else int i; char buf[80]; +#endif if (argc && argv->a_type != A_SYMBOL) startpost("%s:", x->x_sym->s_name); else startpost("%s%s", x->x_sym->s_name, (argc > 1 ? s_list.s_name : (argc == 1 ? s_symbol.s_name : @@ -52,8 +59,10 @@ static void print_list(t_print *x, t_symbol *s, int argc, t_atom *argv) static void print_anything(t_print *x, t_symbol *s, int argc, t_atom *argv) { +#ifndef ROCKBOX int i; char buf[80]; +#endif startpost("%s%s", x->x_sym->s_name, s->s_name); postatom(argc, argv); endpost(); -- cgit v1.1