From e8a7c96049289db96e902fd3ca1ee1eb44d216eb Mon Sep 17 00:00:00 2001 From: cedric Date: Mon, 20 Oct 2008 16:34:59 +0000 Subject: [PATCH] Remove macro provided by Eina. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/ef_test.h | 6 +----- src/lib/efreet_private.h | 12 +----------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/bin/ef_test.h b/src/bin/ef_test.h index 0592711..2e88c68 100644 --- a/src/bin/ef_test.h +++ b/src/bin/ef_test.h @@ -3,11 +3,7 @@ #include "config.h" -#if HAVE___ATTRIBUTE__ -#define __UNUSED__ __attribute__((unused)) -#else -#define __UNUSED__ -#endif +#include #define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0); #define NEW(x, c) calloc(c, sizeof(x)) diff --git a/src/lib/efreet_private.h b/src/lib/efreet_private.h index a1cd803..45e834c 100644 --- a/src/lib/efreet_private.h +++ b/src/lib/efreet_private.h @@ -29,10 +29,10 @@ #include #endif +#include #include #include #include -#include #include "efreet_xml.h" #include "efreet_ini.h" @@ -99,16 +99,6 @@ (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 -- 2.7.4