ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=823c2e2a8625468e437257b9fc903e576980c021

commit 823c2e2a8625468e437257b9fc903e576980c021
Author: Andy Williams <[email protected]>
Date:   Sat Jan 10 17:12:52 2015 +0000

    Improving portability again
---
 src/bin/edi_consolepanel.c    | 12 ++++++------
 src/bin/edi_logpanel.c        |  6 +++---
 src/bin/edi_main.c            |  4 ++--
 src/bin/welcome/edi_welcome.c |  4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/bin/edi_consolepanel.c b/src/bin/edi_consolepanel.c
index 91c4e02..0a300eb 100644
--- a/src/bin/edi_consolepanel.c
+++ b/src/bin/edi_consolepanel.c
@@ -20,7 +20,7 @@
 static Evas_Object *_console_box;
 static const char *_current_dir = NULL;
 
-static uint _edi_strlen_current_dir;
+static unsigned int _edi_strlen_current_dir;
 static int _edi_test_count;
 static int _edi_test_pass;
 static int _edi_test_fail;
@@ -168,17 +168,17 @@ static void _edi_consolepanel_append_line_type(const char 
*line, Eina_Bool err)
    _edi_test_line_callback(line);
 }
 
-void edi_consolepanel_append_line(const char *line)
+EAPI void edi_consolepanel_append_line(const char *line)
 {
    _edi_consolepanel_append_line_type(line, EINA_FALSE);
 }
 
-void edi_consolepanel_append_error_line(const char *line)
+EAPI void edi_consolepanel_append_error_line(const char *line)
 {
    _edi_consolepanel_append_line_type(line, EINA_TRUE);
 }
 
-void edi_consolepanel_clear()
+EAPI void edi_consolepanel_clear()
 {
    elm_box_clear(_console_box);
 
@@ -311,7 +311,7 @@ static void _edi_test_line_callback(const char *content)
      }
 }
 
-void edi_consolepanel_add(Evas_Object *parent)
+EAPI void edi_consolepanel_add(Evas_Object *parent)
 {
    Evas_Object *scroll, *vbx;
 
@@ -333,7 +333,7 @@ void edi_consolepanel_add(Evas_Object *parent)
    ecore_event_handler_add(ECORE_EXE_EVENT_ERROR, _exe_error, NULL);
 }
 
-void edi_testpanel_add(Evas_Object *parent)
+EAPI void edi_testpanel_add(Evas_Object *parent)
 {
    Elm_Code *code;
    Evas_Object *widget;
diff --git a/src/bin/edi_logpanel.c b/src/bin/edi_logpanel.c
index 3c7a40d..ebb0c02 100644
--- a/src/bin/edi_logpanel.c
+++ b/src/bin/edi_logpanel.c
@@ -13,7 +13,7 @@
 static Evas_Object *_info_widget;
 static Elm_Code *_elm_code;
 
-void print_cb(const Eina_Log_Domain *domain,
+static void _print_cb(const Eina_Log_Domain *domain,
               Eina_Log_Level level,
               const char *file,
               const char *fnc,
@@ -38,7 +38,7 @@ void print_cb(const Eina_Log_Domain *domain,
      }
 }
 
-void edi_logpanel_add(Evas_Object *parent)
+EAPI void edi_logpanel_add(Evas_Object *parent)
 {
    Evas_Object *widget;
    Elm_Code *code;
@@ -53,7 +53,7 @@ void edi_logpanel_add(Evas_Object *parent)
    _elm_code = code;
    _info_widget = widget;
 
-   eina_log_print_cb_set(print_cb, NULL);
+   eina_log_print_cb_set(_print_cb, NULL);
    eina_log_color_disable_set(EINA_TRUE);
 
    elm_box_pack_end(parent, widget);
diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c
index d4c8eea..4024074 100644
--- a/src/bin/edi_main.c
+++ b/src/bin/edi_main.c
@@ -282,14 +282,14 @@ _edi_panel_dragged_cb(void *data, Evas_Object *obj 
EINA_UNUSED,
    _edi_panel_size_save(data == _edi_filepanel);
 }
 
-void
+EAPI void
 edi_consolepanel_show()
 {
    if (_edi_selected_bottompanel != _edi_consolepanel_item)
      elm_toolbar_item_selected_set(_edi_consolepanel_item, EINA_TRUE);
 }
 
-void
+EAPI void
 edi_testpanel_show()
 {
    if (_edi_selected_bottompanel != _edi_testpanel_item)
diff --git a/src/bin/welcome/edi_welcome.c b/src/bin/welcome/edi_welcome.c
index 10e18bb..deb959f 100644
--- a/src/bin/welcome/edi_welcome.c
+++ b/src/bin/welcome/edi_welcome.c
@@ -68,7 +68,7 @@ _edi_message_open(const char *message)
 }
 
 static void
-_edi_welcome_project_open(const char *path, const uint _edi_creating)
+_edi_welcome_project_open(const char *path, const unsigned int _edi_creating)
 {
    edi_project_set(path);
 
@@ -299,7 +299,7 @@ _edi_welcome_add_recent_projects(Evas_Object *box)
    evas_object_show(list);
 }
 
-Evas_Object *edi_welcome_show()
+EAPI Evas_Object *edi_welcome_show()
 {
    Evas_Object *win, *hbx, *box, *button, *label, *image, *naviframe;
    Elm_Object_Item *item;

-- 


Reply via email to