summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-10-20 16:34:59 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-10-20 16:34:59 +0000
commit02bf306fddec8554bc800af956a0e5cef7a70394 (patch)
treec720386593304e2659d9660f5690509c514b5f30 /legacy/efreet
parente9ddcdd311a988e83510b5b40cfc9a369d7f7a37 (diff)
Remove macro provided by Eina.
SVN revision: 36863
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/src/bin/ef_test.h6
-rw-r--r--legacy/efreet/src/lib/efreet_private.h12
2 files changed, 2 insertions, 16 deletions
diff --git a/legacy/efreet/src/bin/ef_test.h b/legacy/efreet/src/bin/ef_test.h
index 05927111c9..2e88c68d25 100644
--- a/legacy/efreet/src/bin/ef_test.h
+++ b/legacy/efreet/src/bin/ef_test.h
@@ -3,11 +3,7 @@
3 3
4#include "config.h" 4#include "config.h"
5 5
6#if HAVE___ATTRIBUTE__ 6#include <eina_types.h>
7#define __UNUSED__ __attribute__((unused))
8#else
9#define __UNUSED__
10#endif
11 7
12#define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0); 8#define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0);
13#define NEW(x, c) calloc(c, sizeof(x)) 9#define NEW(x, c) calloc(c, sizeof(x))
diff --git a/legacy/efreet/src/lib/efreet_private.h b/legacy/efreet/src/lib/efreet_private.h
index a1cd803d90..45e834c931 100644
--- a/legacy/efreet/src/lib/efreet_private.h
+++ b/legacy/efreet/src/lib/efreet_private.h
@@ -29,10 +29,10 @@
29#include <alloca.h> 29#include <alloca.h>
30#endif 30#endif
31 31
32#include <Eina.h>
32#include <Ecore.h> 33#include <Ecore.h>
33#include <Ecore_File.h> 34#include <Ecore_File.h>
34#include <Ecore_Str.h> 35#include <Ecore_Str.h>
35#include <eina_stringshare.h>
36 36
37#include "efreet_xml.h" 37#include "efreet_xml.h"
38#include "efreet_ini.h" 38#include "efreet_ini.h"
@@ -99,16 +99,6 @@
99 (x) = NULL; \ 99 (x) = NULL; \
100} while (0) 100} while (0)
101 101
102/**
103 * @def __UNUSED__
104 * A flag to mark a function parameter as unused
105 */
106#if HAVE___ATTRIBUTE__
107#define __UNUSED__ __attribute__((unused))
108#else
109#define __UNUSED__
110#endif
111
112#ifndef PATH_MAX 102#ifndef PATH_MAX
113/** 103/**
114 * @def PATH_MAX 104 * @def PATH_MAX