Remove macro provided by Eina.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Oct 2008 16:34:59 +0000 (16:34 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Oct 2008 16:34:59 +0000 (16:34 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@36863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/embryo_cc_sc.h
src/lib/embryo_private.h

index 53a4992..7fba248 100644 (file)
 #include <stdarg.h>
 #include <stdio.h>
 #include <setjmp.h>
+
+#include <eina_types.h>
+
 #include "embryo_cc_osdefs.h"
 #include "embryo_cc_amx.h"
 
-#if HAVE___ATTRIBUTE__
-#define __UNUSED__ __attribute__((unused))
-#else
-#define __UNUSED__
-#endif
-
 /* Note: the "cell" and "ucell" types are defined in AMX.H */
 
 #define PUBLIC_CHAR '@'                /* character that defines a function "public" */
index 0a0511c..a88cd26 100644 (file)
@@ -30,6 +30,8 @@ extern "C"
 void *alloca (size_t);
 #endif
 
+#include <eina_types.h>
+
 #include "Embryo.h"
 
 #ifdef __GNUC__
@@ -39,12 +41,6 @@ void *alloca (size_t);
 # endif
 #endif
 
-#if HAVE___ATTRIBUTE__
-#define __UNUSED__ __attribute__((unused))
-#else
-#define __UNUSED__
-#endif
-
 typedef enum _Embryo_Opcode Embryo_Opcode;
 
 enum _Embryo_Opcode