From c98e3d2b420e2c19e7c99af1a5166e25151c9ee5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 13 Sep 2010 18:38:55 +0000 Subject: removed stuff taken from headers and put #includes back in svn path=/trunk/externals/import/; revision=14123 --- import.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/import.c b/import.c index 43f2227..f25e585 100644 --- a/import.c +++ b/import.c @@ -1,22 +1,8 @@ #include "m_pd.h" +#include "s_stuff.h" +#include "g_canvas.h" #include -/* this includes things from g_canvas.h and s_stuff.h so it can build on - * Debian, Ubuntu, etc. Currently, the pd packages only include m_pd.h */ - -/* this is taken from g_canvas.h 0.43test2 */ -#define t_canvasenvironment struct _canvasenvironment -EXTERN t_canvasenvironment *canvas_getenv(t_canvas *x); - -/* this is taken from s_stuff.h 0.43test2 */ -EXTERN int sys_load_lib(t_canvas *canvas, char *filename); -extern t_symbol *sys_libdir; /* library directory for auxilliary files */ -typedef struct _namelist /* element in a linked list of stored strings */ -{ - struct _namelist *nl_next; /* next in list */ - char *nl_string; /* the string */ -} t_namelist; - /* WARNING: KLUDGE! */ /* * this struct is not publically defined (its in g_canvas.c) so I need to @@ -30,7 +16,6 @@ struct _canvasenvironment t_namelist *ce_path; /* search path */ }; - static char *version = "1.3"; t_int import_instance_count; -- cgit v1.2.1