Fixed two trivial const correctness issues.
authortilman <tilman@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 17 Jan 2009 17:13:03 +0000 (17:13 +0000)
committertilman <tilman@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 17 Jan 2009 17:13:03 +0000 (17:13 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@38621 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_error.c
src/lib/eina_list.c

index 1f0adec..8e879c0 100644 (file)
@@ -399,7 +399,7 @@ static Eina_Error_Level _error_level = EINA_ERROR_LEVEL_DBG;
 static Eina_Error_Level _error_level = EINA_ERROR_LEVEL_ERR;
 #endif
 
-static char *_colors[EINA_ERROR_LEVELS] = {
+static const char *_colors[EINA_ERROR_LEVELS] = {
   RED, // EINA_ERROR_LEVEL_ERR
   YELLOW, // EINA_ERROR_LEVEL_WARN
   NOTHING, // EINA_ERROR_LEVEL_INFO
index fec8b6f..9854463 100644 (file)
@@ -417,7 +417,7 @@ eina_list_sort_merge(Eina_List *a, Eina_List *b, Eina_Compare_Cb func)
 EAPI int
 eina_list_init(void)
 {
-   char *choice;
+   const char *choice;
 
    if (!_eina_list_init_count)
      {