diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-01-30 03:38:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-01-30 03:38:27 +0000 |
commit | e97111ee9c743dbb05f0aeca799594b5c451c66f (patch) | |
tree | 2d3ae6a2c333e52b9b43a8c9e791634796074e6a /passwd.c | |
parent | c44efa4f5c0ce85007d19eaa31a17e0281a9b3be (diff) |
post version message using verbose(0)
svn path=/trunk/externals/hcs/; revision=15916
Diffstat (limited to 'passwd.c')
-rw-r--r-- | passwd.c | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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 <hans@eds.org>"); - 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 <hans@eds.org>"); + verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); } #endif /* NOT _WIN32 */ |