From 89e2ff54e8139bc8b60e8ee0be503a5e417c7d81 Mon Sep 17 00:00:00 2001 From: caro Date: Fri, 28 May 2010 18:58:49 +0000 Subject: [PATCH] do not declare _eina_small_share twice git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@49251 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_stringshare.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/eina_stringshare.c b/src/lib/eina_stringshare.c index 7ebcce1..b0b58ad 100644 --- a/src/lib/eina_stringshare.c +++ b/src/lib/eina_stringshare.c @@ -235,6 +235,7 @@ struct _Eina_Stringshare_Small { Eina_Stringshare_Small_Bucket *buckets[256]; }; + #define EINA_STRINGSHARE_SMALL_BUCKET_STEP 8 static Eina_Stringshare_Small _eina_small_share; @@ -403,9 +404,6 @@ _eina_stringshare_head_free(Eina_Stringshare_Head *ed, __UNUSED__ void *data) MAGIC_FREE(ed); } - -static Eina_Stringshare_Small _eina_small_share; - static inline int _eina_stringshare_small_cmp(const Eina_Stringshare_Small_Bucket *bucket, int i, const char *pstr, unsigned char plength) { -- 2.7.4