parse functions should return the point where they left of.
authorenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Oct 2008 20:05:59 +0000 (20:05 +0000)
committerenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Oct 2008 20:05:59 +0000 (20:05 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@37168 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas.c

index 5f4e94a..e08907d 100644 (file)
@@ -196,7 +196,7 @@ struct ecore_evas_engine {
 };
 
 /* inline is just to avoid need to ifdef around it */
-static inline void
+static inline const char *
 _ecore_evas_parse_extra_options_str(const char *extra_options, const char *key, char **value)
 {
    int len = strlen(key);
@@ -229,10 +229,11 @@ _ecore_evas_parse_extra_options_str(const char *extra_options, const char *key,
             extra_options = NULL;
          }
      }
+   return extra_options;
 }
 
 /* inline is just to avoid need to ifdef around it */
-static inline void
+static inline const char *
 _ecore_evas_parse_extra_options_uint(const char *extra_options, const char *key, unsigned int *value)
 {
    int len = strlen(key);
@@ -258,6 +259,7 @@ _ecore_evas_parse_extra_options_uint(const char *extra_options, const char *key,
        else
          extra_options = NULL;
      }
+   return extra_options;
 }
 
 /* inline is just to avoid need to ifdef around it */