do not declare _eina_small_share twice
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 28 May 2010 18:58:49 +0000 (18:58 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 28 May 2010 18:58:49 +0000 (18:58 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@49251 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_stringshare.c

index 7ebcce1..b0b58ad 100644 (file)
@@ -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)
 {