new -> news. people with g++ using eina in their c++ stuff will be most
authorraster <raster>
Thu, 9 Apr 2009 05:55:51 +0000 (05:55 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 9 Apr 2009 05:55:51 +0000 (05:55 +0000)
un-amused by the use of a variable called "new".

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39905 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_inline_stringshare.x

index 68188f0..318aa2e 100644 (file)
  */
 
 static inline Eina_Bool
-eina_stringshare_replace(const char **p_str, const char *new)
+eina_stringshare_replace(const char **p_str, const char *news)
 {
-   new = eina_stringshare_add(new);
+   news = eina_stringshare_add(news);
    eina_stringshare_del(*p_str);
-   if (*p_str == new)
+   if (*p_str == news)
      return 0;
-   *p_str = new;
+   *p_str = news;
    return 1;
 }