From 6a5d16687b0d3b22d0337ec48a2d50c8205e22dc Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Thu, 31 Jul 2014 22:05:57 +0100 Subject: [PATCH] small fix... I have to mark the class structure as extern in the header file. --- include/tr/class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tr/class.h b/include/tr/class.h index 98487eb..e76126c 100644 --- a/include/tr/class.h +++ b/include/tr/class.h @@ -61,7 +61,7 @@ * that are needed to create a new class. */ #define TR_CLASS(name) \ - struct TR_class c_##name; \ + extern struct TR_class c_##name; \ struct c_##name; \ typedef struct c_##name * name; \ extern struct TR_class * const _##name; \