diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-01-23 17:56:42 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-01-23 17:56:42 +0000 |
commit | b614183d637d97b51c82f700039152a1166c6077 (patch) | |
tree | 3122e21bd818219c2613654d5c37849cef21cfdd /src/lpt.c | |
parent | c9e58457bb14a6441ed887e0604040994100408d (diff) |
cleaned up code so we get hardly any warnings when compiling with "-Wall"
svn path=/trunk/externals/zexy/; revision=4473
Diffstat (limited to 'src/lpt.c')
-rw-r--r-- | src/lpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,10 +47,12 @@ # include <errno.h> # ifdef HAVE_LINUX_PPDEV_H +# include <unistd.h> # include <sys/ioctl.h> # include <linux/ppdev.h> # include <linux/parport.h> # include <fcntl.h> +# include <stdio.h> # endif /* HAVE_LINUX_PPDEV_H */ @@ -192,7 +194,6 @@ static void *lpt_new(t_symbol *s, int argc, t_atom *argv) we ignore the file (device) case by now; LATER think about this */ - int bla; x->device=-1; x->port=strtol(devname, 0, 16); if(0==x->port){ |