summaryrefslogtreecommitdiff
path: root/src/benchmarks/eina/eina_bench_hash.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-05 20:09:47 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-05 20:09:47 +0000
commit7fe3d3599446108bc36a0ab6ec563a267db02733 (patch)
tree8c45e7b3087e289466d4fb4ff99b12b209b770f6 /src/benchmarks/eina/eina_bench_hash.c
parent227ef6982edc5e7a31f74077b93e82aeb33d7d6f (diff)
merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
Diffstat (limited to '')
-rw-r--r--src/benchmarks/eina/eina_bench_hash.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/benchmarks/eina/eina_bench_hash.c b/src/benchmarks/eina/eina_bench_hash.c
index 0429097c70..e0e9774504 100644
--- a/src/benchmarks/eina/eina_bench_hash.c
+++ b/src/benchmarks/eina/eina_bench_hash.c
@@ -52,8 +52,8 @@ _eina_string_key_length(const char *key)
52} 52}
53 53
54static int 54static int
55_eina_string_key_cmp(const char *key1, __UNUSED__ int key1_length, 55_eina_string_key_cmp(const char *key1, EINA_UNUSED int key1_length,
56 const char *key2, __UNUSED__ int key2_length) 56 const char *key2, EINA_UNUSED int key2_length)
57{ 57{
58 return strcmp(key1, key2); 58 return strcmp(key1, key2);
59} 59}
@@ -71,7 +71,7 @@ struct _Eina_Bench_Rbtree
71static Eina_Rbtree_Direction 71static Eina_Rbtree_Direction
72_eina_bench_rbtree_cmp(const Eina_Bench_Rbtree *left, 72_eina_bench_rbtree_cmp(const Eina_Bench_Rbtree *left,
73 const Eina_Bench_Rbtree *right, 73 const Eina_Bench_Rbtree *right,
74 __UNUSED__ void *data) 74 EINA_UNUSED void *data)
75{ 75{
76 if (!left) 76 if (!left)
77 return EINA_RBTREE_RIGHT; 77 return EINA_RBTREE_RIGHT;
@@ -87,13 +87,13 @@ static inline int
87_eina_bench_rbtree_key(const Eina_Bench_Rbtree *node, 87_eina_bench_rbtree_key(const Eina_Bench_Rbtree *node,
88 const char *key, 88 const char *key,
89 int length, 89 int length,
90 __UNUSED__ void *data) 90 EINA_UNUSED void *data)
91{ 91{
92 return strncmp(node->key, key, length); 92 return strncmp(node->key, key, length);
93} 93}
94 94
95static void 95static void
96_eina_bench_rbtree_free(Eina_Rbtree *node, __UNUSED__ void *data) 96_eina_bench_rbtree_free(Eina_Rbtree *node, EINA_UNUSED void *data)
97{ 97{
98 free(node); 98 free(node);
99} 99}