diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_dac.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/d_dac.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_dac.c b/apps/plugins/pdbox/PDa/src/d_dac.c index 1606b3a1f2..29b3410de9 100644 --- a/apps/plugins/pdbox/PDa/src/d_dac.c +++ b/apps/plugins/pdbox/PDa/src/d_dac.c | |||
@@ -22,8 +22,17 @@ typedef struct _dac | |||
22 | static void *dac_new(t_symbol *s, int argc, t_atom *argv) | 22 | static void *dac_new(t_symbol *s, int argc, t_atom *argv) |
23 | { | 23 | { |
24 | t_dac *x = (t_dac *)pd_new(dac_class); | 24 | t_dac *x = (t_dac *)pd_new(dac_class); |
25 | #ifdef ROCKBOX | ||
26 | t_atom defarg[2]; | ||
27 | #else | ||
25 | t_atom defarg[2], *ap; | 28 | t_atom defarg[2], *ap; |
29 | #endif | ||
26 | int i; | 30 | int i; |
31 | |||
32 | #ifdef ROCKBOX | ||
33 | (void) s; | ||
34 | #endif | ||
35 | |||
27 | if (!argc) | 36 | if (!argc) |
28 | { | 37 | { |
29 | argv = defarg; | 38 | argv = defarg; |
@@ -83,8 +92,17 @@ typedef struct _adc | |||
83 | static void *adc_new(t_symbol *s, int argc, t_atom *argv) | 92 | static void *adc_new(t_symbol *s, int argc, t_atom *argv) |
84 | { | 93 | { |
85 | t_adc *x = (t_adc *)pd_new(adc_class); | 94 | t_adc *x = (t_adc *)pd_new(adc_class); |
95 | #ifdef ROCKBOX | ||
96 | t_atom defarg[2]; | ||
97 | #else | ||
86 | t_atom defarg[2], *ap; | 98 | t_atom defarg[2], *ap; |
99 | #endif | ||
87 | int i; | 100 | int i; |
101 | |||
102 | #ifdef ROCKBOX | ||
103 | (void) s; | ||
104 | #endif | ||
105 | |||
88 | if (!argc) | 106 | if (!argc) |
89 | { | 107 | { |
90 | argv = defarg; | 108 | argv = defarg; |