From cfed7d1ee29299c9d25658c6fb155ffb13c757d4 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Tue, 26 Nov 2002 12:35:23 +0000 Subject: warning reduction svn path=/trunk/externals/ggee/; revision=255 --- control/shell.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'control') diff --git a/control/shell.c b/control/shell.c index 79d536b..cb31f84 100755 --- a/control/shell.c +++ b/control/shell.c @@ -8,11 +8,14 @@ #endif #include +#include #include #include #include #include +void sys_rmpollfn(int fd); + /* ------------------------ shell ----------------------------- */ #define INBUFSIZE 1024 @@ -177,7 +180,7 @@ static void shell_send(t_shell *x, t_symbol *s,int ac, t_atom *at) } tmp[size-1] = '\0'; post("sending %s",tmp); - fprintf(x->fdinpipe[0],tmp); + write(x->fdinpipe[0],tmp,strlen(tmp)); } static void shell_anything(t_shell *x, t_symbol *s, int ac, t_atom *at) @@ -244,7 +247,7 @@ void shell_free(t_shell* x) binbuf_free(x->x_binbuf); } -static void *shell_new() +static void *shell_new(void) { t_shell *x = (t_shell *)pd_new(shell_class); -- cgit v1.2.1