aboutsummaryrefslogtreecommitdiff
path: root/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'stat.c')
-rw-r--r--stat.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/stat.c b/stat.c
index 8648637..811de38 100644
--- a/stat.c
+++ b/stat.c
@@ -40,8 +40,6 @@
static char *version = "$Revision: 1.5 $";
-t_int stat_instance_count;
-
#define DEBUG(x)
//#define DEBUG(x) x
@@ -264,15 +262,6 @@ static void *stat_new(t_symbol *s)
t_stat *x = (t_stat *)pd_new(stat_class);
- if(!stat_instance_count)
- {
- post("[stat] %s",version);
- post("\twritten by Hans-Christoph Steiner <hans@eds.org>");
- post("\tcompiled on "__DATE__" at "__TIME__ " ");
- }
- stat_instance_count++;
-
-
symbolinlet_new(&x->x_obj, &x->x_filename);
x->x_data_outlet = outlet_new(&x->x_obj, 0);
x->x_status_outlet = outlet_new(&x->x_obj, 0);
@@ -308,5 +297,8 @@ void stat_setup(void)
/* add inlet message methods */
class_addmethod(stat_class,(t_method) stat_set,gensym("set"),
A_DEFSYM, 0);
+ verbose(0, "[stat] %s",version);
+ verbose(0, "\twritten by Hans-Christoph Steiner <hans@eds.org>");
+ verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " ");
}