From 0be9cb9aac9019c0ba8f2709e27b3534f5fcaa51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 24 Jan 2006 21:17:23 +0000 Subject: made all possible (well, most) functions "static" to not interfere with functions of the same name of other libraries svn path=/trunk/externals/zexy/; revision=4482 --- src/prime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/prime.c') diff --git a/src/prime.c b/src/prime.c index 339582b..73ba899 100644 --- a/src/prime.c +++ b/src/prime.c @@ -26,7 +26,7 @@ typedef struct _prime { } t_prime; -void prime_float(t_prime *x, t_float f) +static void prime_float(t_prime *x, t_float f) { unsigned int i=f; @@ -54,13 +54,13 @@ void prime_float(t_prime *x, t_float f) outlet_float(x->x_obj.ob_outlet, 1.0); } -void *prime_new(void) +static void *prime_new(void) { t_prime *x = (t_prime *)pd_new(prime_class); outlet_new(&x->x_obj, &s_float); - return (void *)x; + return (x); } void prime_setup(void) { -- cgit v1.2.1