aboutsummaryrefslogtreecommitdiff
path: root/passwd.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 03:38:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 03:38:27 +0000
commite97111ee9c743dbb05f0aeca799594b5c451c66f (patch)
tree2d3ae6a2c333e52b9b43a8c9e791634796074e6a /passwd.c
parentc44efa4f5c0ce85007d19eaa31a17e0281a9b3be (diff)
post version message using verbose(0)
svn path=/trunk/externals/hcs/; revision=15916
Diffstat (limited to 'passwd.c')
-rw-r--r--passwd.c14
1 files changed, 4 insertions, 10 deletions
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 <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 */