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/efreet@36863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/ef_test.h
src/lib/efreet_private.h

index 0592711..2e88c68 100644 (file)
@@ -3,11 +3,7 @@
 
 #include "config.h"
 
-#if HAVE___ATTRIBUTE__
-#define __UNUSED__ __attribute__((unused))
-#else
-#define __UNUSED__
-#endif
+#include <eina_types.h>
 
 #define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0);
 #define NEW(x, c) calloc(c, sizeof(x))
index a1cd803..45e834c 100644 (file)
 #include <alloca.h>
 #endif
 
+#include <Eina.h>
 #include <Ecore.h>
 #include <Ecore_File.h>
 #include <Ecore_Str.h>
-#include <eina_stringshare.h>
 
 #include "efreet_xml.h"
 #include "efreet_ini.h"
     (x) = NULL; \
 } while (0)
 
-/**
- * @def __UNUSED__
- * A flag to mark a function parameter as unused
- */
-#if HAVE___ATTRIBUTE__
-#define __UNUSED__ __attribute__((unused))
-#else
-#define __UNUSED__
-#endif
-
 #ifndef PATH_MAX
 /**
  * @def PATH_MAX