From e97111ee9c743dbb05f0aeca799594b5c451c66f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 30 Jan 2012 03:38:27 +0000 Subject: post version message using verbose(0) svn path=/trunk/externals/hcs/; revision=15916 --- passwd.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'passwd.c') diff --git a/passwd.c b/passwd.c index 7f574ca..48acb27 100644 --- a/passwd.c +++ b/passwd.c @@ -41,8 +41,6 @@ static char *version = "$Revision: 1.3 $"; -t_int passwd_instance_count; - #define DEBUG(x) //#define DEBUG(x) x @@ -162,14 +160,6 @@ static void *passwd_new(t_symbol *s, int argc, t_atom *argv) t_passwd *x = (t_passwd *)pd_new(passwd_class); - if(!passwd_instance_count) - { - post("[passwd] %s",version); - post("\twritten by Hans-Christoph Steiner "); - post("\tcompiled on "__DATE__" at "__TIME__ " "); - } - passwd_instance_count++; - floatinlet_new(&x->x_obj, &x->x_uid); x->x_data_outlet = outlet_new(&x->x_obj, 0); x->x_status_outlet = outlet_new(&x->x_obj, 0); @@ -209,6 +199,10 @@ void passwd_setup(void) gensym("set"), A_GIMME, 0); + + verbose(0, "[passwd] %s",version); + verbose(0, "\twritten by Hans-Christoph Steiner "); + verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); } #endif /* NOT _WIN32 */ -- cgit v1.2.1