aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-06-03 18:32:13 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit4af740ac0e286e6b44f8e8129d32f74bd6b1282d (patch)
treecc84626396ec608a89393914ecf86bb27bf5c2af
parentabdad952689c21d28683feff31b1fc6b6e2b1ce7 (diff)
logpost() really requires a format string
svn path=/trunk/externals/unauthorized/; revision=17472
-rw-r--r--audience~.c2
-rw-r--r--beatify~.c2
-rw-r--r--blinkenlights.c2
-rw-r--r--compressor~.c2
-rw-r--r--cooled~.c2
-rw-r--r--countund.c2
-rw-r--r--disto~.c2
-rw-r--r--exciter.c2
-rw-r--r--filterbank~.c2
-rw-r--r--formant~.c2
-rw-r--r--grid.c2
-rw-r--r--mp3amp~.c2
-rw-r--r--mp3cast~.c6
-rw-r--r--mp3fileout~.c2
-rw-r--r--mp3streamin~.c2
-rw-r--r--mp3streamout~.c6
-rw-r--r--mp3write~.c6
-rw-r--r--pianoroll.c2
-rw-r--r--probalizer.c2
-rw-r--r--randomblock~.c2
-rw-r--r--samplebox~.c2
-rw-r--r--scratcher~.c2
-rw-r--r--scrolllist.c2
-rw-r--r--sonogram~.c2
-rw-r--r--speexin~.c2
-rw-r--r--speexout~.c2
-rw-r--r--spigot~.c2
-rw-r--r--vocoder~.c2
-rw-r--r--wahwah~.c2
29 files changed, 35 insertions, 35 deletions
diff --git a/audience~.c b/audience~.c
index da5fbf7..e7446e6 100644
--- a/audience~.c
+++ b/audience~.c
@@ -1038,7 +1038,7 @@ static void audience_delay(t_audience_tilde *x, t_floatarg fdelay )
void audience_tilde_setup(void)
{
- logpost(NULL, 4, audience_version );
+ logpost(NULL, 4, "%s", "%s", audience_version );
audience_class_tilde = class_new(gensym("audience~"), (t_newmethod)audience_new,
(t_method)audience_free, sizeof(t_audience_tilde), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN( audience_class_tilde, t_audience_tilde, x_f );
diff --git a/beatify~.c b/beatify~.c
index 5c689a5..d9cfbcf 100644
--- a/beatify~.c
+++ b/beatify~.c
@@ -171,7 +171,7 @@ static void beatify_dsp(t_beatify *x, t_signal **sp)
void beatify_tilde_setup(void)
{
- logpost(NULL, 4, beatify_version );
+ logpost(NULL, 4, "%s", beatify_version );
beatify_class = class_new(gensym("beatify~"), (t_newmethod)beatify_new, 0,
sizeof(t_beatify), 0, 0);
CLASS_MAINSIGNALIN( beatify_class, t_beatify, x_f );
diff --git a/blinkenlights.c b/blinkenlights.c
index bd39fbe..312639b 100644
--- a/blinkenlights.c
+++ b/blinkenlights.c
@@ -867,7 +867,7 @@ static void blinkenlights_next(t_blinkenlights *x)
void blinkenlights_setup(void)
{
- logpost(NULL, 4, blinkenlights_version);
+ logpost(NULL, 4, "%s", blinkenlights_version);
blinkenlights_class = class_new(gensym("blinkenlights"), (t_newmethod)blinkenlights_new,
(t_method)blinkenlights_free,
sizeof(t_blinkenlights), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
diff --git a/compressor~.c b/compressor~.c
index 1846368..2b423b4 100644
--- a/compressor~.c
+++ b/compressor~.c
@@ -97,7 +97,7 @@ static void compressor_dsp(t_compressor *x, t_signal **sp)
void compressor_tilde_setup(void)
{
- logpost(NULL, 4, compressor_version );
+ logpost(NULL, 4, "%s", compressor_version );
compressor_class = class_new(gensym("compressor~"), (t_newmethod)compressor_new, 0,
sizeof(t_compressor), 0, 0);
CLASS_MAINSIGNALIN( compressor_class, t_compressor, x_f );
diff --git a/cooled~.c b/cooled~.c
index 2aa1985..6eff568 100644
--- a/cooled~.c
+++ b/cooled~.c
@@ -1455,7 +1455,7 @@ static void *cooled_new(t_symbol *s, int argc, t_atom *argv)
void cooled_tilde_setup(void)
{
- logpost(NULL, 4, cooled_version);
+ logpost(NULL, 4, "%s", cooled_version);
cooled_class = class_new(gensym("cooled~"), (t_newmethod)cooled_new, (t_method)cooled_free,
sizeof(t_cooled), 0, A_GIMME, 0);
diff --git a/countund.c b/countund.c
index fb0495b..8b134ea 100644
--- a/countund.c
+++ b/countund.c
@@ -112,7 +112,7 @@ static void countund_bang(t_countund *x)
void countund_setup(void)
{
- logpost(NULL, 4, countund_version);
+ logpost(NULL, 4, "%s", countund_version);
countund_class = class_new(gensym("countund"), (t_newmethod)countund_new,
(t_method)countund_free,
sizeof(t_countund), 0, A_DEFFLOAT, 0);
diff --git a/disto~.c b/disto~.c
index 826874e..64cbcad 100644
--- a/disto~.c
+++ b/disto~.c
@@ -473,7 +473,7 @@ static void *disto_new(void)
void disto_tilde_setup(void)
{
- logpost(NULL, 4, disto_version );
+ logpost(NULL, 4, "%s", disto_version );
disto_class = class_new(gensym("disto~"), (t_newmethod)disto_new, (t_method)disto_free,
sizeof(t_disto), 0, 0);
diff --git a/exciter.c b/exciter.c
index 6925854..397beaa 100644
--- a/exciter.c
+++ b/exciter.c
@@ -789,7 +789,7 @@ static void exciter_free(t_exciter *x)
void exciter_setup(void)
{
- logpost(NULL, 4, exciter_version );
+ logpost(NULL, 4, "%s", exciter_version );
exciter_class = class_new(gensym("exciter"), (t_newmethod)exciter_new,
(t_method)exciter_free, sizeof(t_exciter), 0, A_GIMME, 0);
class_addmethod(exciter_class, (t_method)exciter_dialog, gensym("dialog"), A_GIMME, 0);
diff --git a/filterbank~.c b/filterbank~.c
index 49e5b98..9c5e901 100644
--- a/filterbank~.c
+++ b/filterbank~.c
@@ -653,7 +653,7 @@ static void filterbank_dsp(t_filterbank_tilde *x, t_signal **sp)
void filterbank_tilde_setup(void)
{
- logpost(NULL, 4, filterbank_version );
+ logpost(NULL, 4, "%s", filterbank_version );
filterbank_class_tilde = class_new(gensym("filterbank~"), (t_newmethod)filterbank_new,
(t_method)filterbank_free, sizeof(t_filterbank_tilde), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN( filterbank_class_tilde, t_filterbank_tilde, x_f );
diff --git a/formant~.c b/formant~.c
index 0535576..1753a39 100644
--- a/formant~.c
+++ b/formant~.c
@@ -260,7 +260,7 @@ static void *formant_new(t_floatarg fsize, t_floatarg ffreq, t_floatarg ffwidth,
void formant_tilde_setup(void)
{
- logpost(NULL, 4, formant_version);
+ logpost(NULL, 4, "%s", formant_version);
formant_class = class_new(gensym("formant~"), (t_newmethod)formant_new, (t_method)formant_free,
sizeof(t_formant), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
class_addmethod(formant_class, (t_method)formant_dsp, gensym("dsp"), 0);
diff --git a/grid.c b/grid.c
index ad0fa32..1f5a34b 100644
--- a/grid.c
+++ b/grid.c
@@ -690,7 +690,7 @@ static void grid_free(t_grid *x)
void grid_setup(void)
{
- logpost(NULL, 4, grid_version );
+ logpost(NULL, 4, "%s", grid_version );
grid_class = class_new(gensym("grid"), (t_newmethod)grid_new,
(t_method)grid_free, sizeof(t_grid), 0, A_GIMME, 0);
class_addmethod(grid_class, (t_method)grid_click, gensym("click"),
diff --git a/mp3amp~.c b/mp3amp~.c
index 600ee4e..e7f48b0 100644
--- a/mp3amp~.c
+++ b/mp3amp~.c
@@ -1245,7 +1245,7 @@ static void *mp3amp_new(t_floatarg fdographics)
/* init mpg123 decoder */
mp3amp_tilde_mpglib_init(x);
- logpost(NULL, 4, mp3amp_version);
+ logpost(NULL, 4, "%s", mp3amp_version);
return (x);
}
diff --git a/mp3cast~.c b/mp3cast~.c
index 7657b62..66194a9 100644
--- a/mp3cast~.c
+++ b/mp3cast~.c
@@ -368,7 +368,7 @@ static void mp3cast_tilde_lame_init(t_mp3cast *x)
#endif /* _WIN32 */
{
const char *lameVersion = get_lame_version();
- logpost(NULL, 4, "mp3cast~ : using lame version : %s", lameVersion );
+ logpost(NULL, 4, "%s", "mp3cast~ : using lame version : %s", lameVersion );
}
@@ -810,7 +810,7 @@ static void mp3cast_mpeg(t_mp3cast *x, t_floatarg fsamplerate, t_floatarg fbitra
static void mp3cast_print(t_mp3cast *x)
{
const char * buf = 0;
- logpost(NULL, 4, mp3cast_version);
+ logpost(NULL, 4, "%s", mp3cast_version);
post(" LAME mp3 settings:\n"
" output sample rate: %d Hz\n"
" bitrate: %d kbit/s", x->x_samplerate, x->x_bitrate);
@@ -972,7 +972,7 @@ static void *mp3cast_new(void)
void mp3cast_tilde_setup(void)
{
- logpost(NULL, 4, mp3cast_version);
+ logpost(NULL, 4, "%s", mp3cast_version);
mp3cast_class = class_new(gensym("mp3cast~"), (t_newmethod)mp3cast_new, (t_method)mp3cast_free,
sizeof(t_mp3cast), 0, 0);
CLASS_MAINSIGNALIN(mp3cast_class, t_mp3cast, x_f );
diff --git a/mp3fileout~.c b/mp3fileout~.c
index ecbdfb2..15af1b9 100644
--- a/mp3fileout~.c
+++ b/mp3fileout~.c
@@ -549,7 +549,7 @@ static void *mp3fileout_new(void)
void mp3fileout_tilde_setup(void)
{
- logpost(NULL, 4, mp3fileout_version );
+ logpost(NULL, 4, "%s", mp3fileout_version );
mp3fileout_class = class_new(gensym("mp3fileout~"),
(t_newmethod) mp3fileout_new, (t_method) mp3fileout_free,
sizeof(t_mp3fileout), 0, A_NULL);
diff --git a/mp3streamin~.c b/mp3streamin~.c
index f84c8ee..f6079cd 100644
--- a/mp3streamin~.c
+++ b/mp3streamin~.c
@@ -669,7 +669,7 @@ static void *mp3streamin_new(t_floatarg fportno, t_floatarg fdographics)
void mp3streamin_tilde_setup(void)
{
- logpost(NULL, 4, mp3streamin_version );
+ logpost(NULL, 4, "%s", mp3streamin_version );
mp3streamin_class = class_new(gensym("mp3streamin~"),
(t_newmethod) mp3streamin_new, (t_method) mp3streamin_free,
sizeof(t_mp3streamin), CLASS_NOINLET, A_DEFFLOAT, A_DEFFLOAT, A_NULL);
diff --git a/mp3streamout~.c b/mp3streamout~.c
index 2140093..80022cc 100644
--- a/mp3streamout~.c
+++ b/mp3streamout~.c
@@ -376,7 +376,7 @@ static void mp3streamout_tilde_lame_init(t_mp3streamout *x)
#endif
{
const char *lameVersion = get_lame_version();
- logpost(NULL, 4, "mp3streamout~ : using lame version : %s", lameVersion );
+ logpost(NULL, 4, "%s", "mp3streamout~ : using lame version : %s", lameVersion );
}
/* setting lame parameters */
@@ -550,7 +550,7 @@ static void mp3streamout_print(t_mp3streamout *x)
{
const char * buf = 0;
- logpost(NULL, 4, mp3streamout_version);
+ logpost(NULL, 4, "%s", mp3streamout_version);
post(" LAME mp3 settings:\n"
" output sample rate: %d Hz\n"
" bitrate: %d kbit/s", x->x_samplerate, x->x_bitrate);
@@ -629,7 +629,7 @@ static void *mp3streamout_new(void)
void mp3streamout_tilde_setup(void)
{
- logpost(NULL, 4, mp3streamout_version);
+ logpost(NULL, 4, "%s", mp3streamout_version);
mp3streamout_class = class_new(gensym("mp3streamout~"), (t_newmethod)mp3streamout_new, (t_method)mp3streamout_free,
sizeof(t_mp3streamout), 0, 0);
CLASS_MAINSIGNALIN(mp3streamout_class, t_mp3streamout, x_f );
diff --git a/mp3write~.c b/mp3write~.c
index 7012ba1..4f315e0 100644
--- a/mp3write~.c
+++ b/mp3write~.c
@@ -369,7 +369,7 @@ static int mp3write_tilde_lame_init(t_mp3write *x)
#endif
{
const char *lameVersion = get_lame_version();
- logpost(NULL, 4, "mp3write~ : using lame version : %s", lameVersion );
+ logpost(NULL, 4, "%s", "mp3write~ : using lame version : %s", lameVersion );
}
/* setting lame parameters */
@@ -495,7 +495,7 @@ static void mp3write_mpeg(t_mp3write *x, t_floatarg fsamplerate, t_floatarg fbit
static void mp3write_print(t_mp3write *x)
{
const char * buf = 0;
- logpost(NULL, 4, mp3write_version);
+ logpost(NULL, 4, "%s", mp3write_version);
post(" LAME mp3 settings:\n"
" output sample rate: %d Hz\n"
" bitrate: %d kbit/s", x->x_samplerate, x->x_bitrate);
@@ -627,7 +627,7 @@ static void *mp3write_new(void)
void mp3write_tilde_setup(void)
{
- logpost(NULL, 4, mp3write_version);
+ logpost(NULL, 4, "%s", mp3write_version);
mp3write_class = class_new(gensym("mp3write~"), (t_newmethod)mp3write_new, (t_method)mp3write_free,
sizeof(t_mp3write), 0, 0);
CLASS_MAINSIGNALIN(mp3write_class, t_mp3write, x_f );
diff --git a/pianoroll.c b/pianoroll.c
index 900b50a..f9d4a6b 100644
--- a/pianoroll.c
+++ b/pianoroll.c
@@ -793,7 +793,7 @@ static void pianoroll_free(t_pianoroll *x)
void pianoroll_setup(void)
{
- logpost(NULL, 4, pianoroll_version );
+ logpost(NULL, 4, "%s", pianoroll_version );
pianoroll_class = class_new(gensym("pianoroll"), (t_newmethod)pianoroll_new,
(t_method)pianoroll_free, sizeof(t_pianoroll), 0, A_GIMME, 0);
class_addmethod(pianoroll_class, (t_method)pianoroll_float, &s_float, A_FLOAT, 0);
diff --git a/probalizer.c b/probalizer.c
index 576c237..03cd6e1 100644
--- a/probalizer.c
+++ b/probalizer.c
@@ -676,7 +676,7 @@ static void probalizer_free(t_probalizer *x)
void probalizer_setup(void)
{
- logpost(NULL, 4, probalizer_version );
+ logpost(NULL, 4, "%s", probalizer_version );
probalizer_class = class_new(gensym("probalizer"), (t_newmethod)probalizer_new,
(t_method)probalizer_free, sizeof(t_probalizer), 0, A_GIMME, 0);
class_addmethod(probalizer_class, (t_method)probalizer_dialog, gensym("dialog"), A_GIMME, 0);
diff --git a/randomblock~.c b/randomblock~.c
index f75e16b..3508b61 100644
--- a/randomblock~.c
+++ b/randomblock~.c
@@ -110,7 +110,7 @@ static void randomblock_dsp(t_randomblock *x, t_signal **sp)
void randomblock_tilde_setup(void)
{
- logpost(NULL, 4, randomblock_version);
+ logpost(NULL, 4, "%s", randomblock_version);
randomblock_class = class_new(gensym("randomblock~"), (t_newmethod)randomblock_new,
(t_method)randomblock_free,
sizeof(t_randomblock), 0, A_DEFFLOAT, 0);
diff --git a/samplebox~.c b/samplebox~.c
index 1957c3a..eb0f9e7 100644
--- a/samplebox~.c
+++ b/samplebox~.c
@@ -579,7 +579,7 @@ static void *samplebox_new(t_floatarg fsize)
void samplebox_tilde_setup(void)
{
- logpost(NULL, 4, samplebox_version);
+ logpost(NULL, 4, "%s", samplebox_version);
samplebox_class = class_new(gensym("samplebox~"), (t_newmethod)samplebox_new, (t_method)samplebox_free,
sizeof(t_samplebox), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN( samplebox_class, t_samplebox, x_f );
diff --git a/scratcher~.c b/scratcher~.c
index a847071..ca26cbd 100644
--- a/scratcher~.c
+++ b/scratcher~.c
@@ -805,7 +805,7 @@ static void *scratcher_new(t_symbol *s, int argc, t_atom *argv)
void scratcher_tilde_setup(void)
{
- logpost(NULL, 4, scratcher_version);
+ logpost(NULL, 4, "%s", scratcher_version);
scratcher_class = class_new(gensym("scratcher~"), (t_newmethod)scratcher_new, (t_method)scratcher_free,
sizeof(t_scratcher), 0, A_GIMME, 0);
diff --git a/scrolllist.c b/scrolllist.c
index 40b857c..ff615b9 100644
--- a/scrolllist.c
+++ b/scrolllist.c
@@ -1000,7 +1000,7 @@ static void scrolllist_free(t_scrolllist *x)
void scrolllist_setup(void)
{
- logpost(NULL, 4, scrolllist_version );
+ logpost(NULL, 4, "%s", scrolllist_version );
scrolllist_class = class_new(gensym("scrolllist"), (t_newmethod)scrolllist_new,
(t_method)scrolllist_free, sizeof(t_scrolllist),
CLASS_DEFAULT, A_GIMME, 0);
diff --git a/sonogram~.c b/sonogram~.c
index a5ef181..2a8c50c 100644
--- a/sonogram~.c
+++ b/sonogram~.c
@@ -2251,7 +2251,7 @@ static void *sonogram_new(t_floatarg fsize, t_floatarg fgraphic, t_floatarg fpha
void sonogram_tilde_setup(void)
{
- logpost(NULL, 4, sonogram_version);
+ logpost(NULL, 4, "%s", sonogram_version);
sonogram_class = class_new(gensym("sonogram~"), (t_newmethod)sonogram_new, (t_method)sonogram_free,
sizeof(t_sonogram), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
diff --git a/speexin~.c b/speexin~.c
index ca3cdfc..3554b24 100644
--- a/speexin~.c
+++ b/speexin~.c
@@ -608,7 +608,7 @@ static void *speexin_new(t_floatarg fportno, t_floatarg fdographics)
void speexin_tilde_setup(void)
{
- logpost(NULL, 4, speexin_version );
+ logpost(NULL, 4, "%s", speexin_version );
speexin_class = class_new(gensym("speexin~"),
(t_newmethod) speexin_new, (t_method) speexin_free,
sizeof(t_speexin), CLASS_NOINLET, A_DEFFLOAT, A_DEFFLOAT, A_NULL);
diff --git a/speexout~.c b/speexout~.c
index 6e4a597..35817c5 100644
--- a/speexout~.c
+++ b/speexout~.c
@@ -444,7 +444,7 @@ static void *speexout_new(t_symbol *s, int argc, t_atom *argv)
void speexout_tilde_setup(void)
{
- logpost(NULL, 4, speexout_version);
+ logpost(NULL, 4, "%s", speexout_version);
speexout_class = class_new(gensym("speexout~"), (t_newmethod)speexout_new, (t_method)speexout_free,
sizeof(t_speexout), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN(speexout_class, t_speexout, x_f );
diff --git a/spigot~.c b/spigot~.c
index 0b8a1ad..8ccd1c9 100644
--- a/spigot~.c
+++ b/spigot~.c
@@ -71,7 +71,7 @@ static void spigot_set(t_spigot *x, t_float f)
void spigot_tilde_setup(void)
{
- logpost(NULL, 4, spigot_version );
+ logpost(NULL, 4, "%s", spigot_version );
spigot_class = class_new(gensym("spigot~"), (t_newmethod)spigot_new, 0,
sizeof(t_spigot), 0, 0);
CLASS_MAINSIGNALIN( spigot_class, t_spigot, x_f );
diff --git a/vocoder~.c b/vocoder~.c
index ef53c4f..5dde167 100644
--- a/vocoder~.c
+++ b/vocoder~.c
@@ -153,7 +153,7 @@ static void vocoder_free(t_vocoder *x)
void vocoder_tilde_setup(void)
{
- logpost(NULL, 4, vocoder_version);
+ logpost(NULL, 4, "%s", vocoder_version);
vocoder_class = class_new(gensym("vocoder~"), (t_newmethod)vocoder_new, (t_method)vocoder_free,
sizeof(t_vocoder), 0, 0);
CLASS_MAINSIGNALIN( vocoder_class, t_vocoder, x_f );
diff --git a/wahwah~.c b/wahwah~.c
index d0ecac2..2c23e32 100644
--- a/wahwah~.c
+++ b/wahwah~.c
@@ -393,7 +393,7 @@ static void *wahwah_new(void)
void wahwah_tilde_setup(void)
{
- logpost(NULL, 4, wahwah_version );
+ logpost(NULL, 4, "%s", wahwah_version );
wahwah_class = class_new(gensym("wahwah~"), (t_newmethod)wahwah_new, (t_method)wahwah_free,
sizeof(t_wahwah), 0, 0);