summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-06-10 05:07:47 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-10 10:07:57 +0200
commitcfbdcdc9c81c5cd14d8dc9f1db4d102d8052b473 (patch)
treeee25a2fccce251cee86fd009ea353155aacfe270 /src/lib
parent13cb31e2715b324d8b75f7d0458398b59d609fb6 (diff)
Use extern after EAPI
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11961
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore/Efl_Core.h2
-rw-r--r--src/lib/eina/eina_log.h4
-rw-r--r--src/lib/eina/eina_module.h4
-rw-r--r--src/lib/elementary/Efl_Ui.h4
-rw-r--r--src/lib/elementary/elm_code_parse.h6
-rw-r--r--src/lib/elementary/elm_general.h2
-rw-r--r--src/lib/elementary/elm_widget.h2
-rw-r--r--src/lib/evas/common/evas_font_private.h2
-rw-r--r--src/lib/evas/include/evas_common_private.h2
9 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/ecore/Efl_Core.h b/src/lib/ecore/Efl_Core.h
index 0178299379..7e80819b83 100644
--- a/src/lib/ecore/Efl_Core.h
+++ b/src/lib/ecore/Efl_Core.h
@@ -54,7 +54,7 @@
54extern "C" { 54extern "C" {
55#endif 55#endif
56 56
57extern EAPI double _efl_startup_time; 57EAPI extern double _efl_startup_time;
58 58
59#include "Ecore_Common.h" 59#include "Ecore_Common.h"
60#include "Ecore_Eo.h" 60#include "Ecore_Eo.h"
diff --git a/src/lib/eina/eina_log.h b/src/lib/eina/eina_log.h
index fd6f6c4252..b45a191ac2 100644
--- a/src/lib/eina/eina_log.h
+++ b/src/lib/eina/eina_log.h
@@ -979,9 +979,9 @@ EAPI void eina_log_console_color_set(FILE *fp,
979 const char *color) EINA_ARG_NONNULL(1, 2); 979 const char *color) EINA_ARG_NONNULL(1, 2);
980 980
981/** String that indicates the log system is initializing. */ 981/** String that indicates the log system is initializing. */
982extern EAPI const char *_eina_log_state_init; 982EAPI extern const char *_eina_log_state_init;
983/** String that indicates the log system is shutting down. */ 983/** String that indicates the log system is shutting down. */
984extern EAPI const char *_eina_log_state_shutdown; 984EAPI extern const char *_eina_log_state_shutdown;
985/** 985/**
986 * @def EINA_LOG_STATE_INIT 986 * @def EINA_LOG_STATE_INIT
987 * String that indicates the log system is initializing 987 * String that indicates the log system is initializing
diff --git a/src/lib/eina/eina_module.h b/src/lib/eina/eina_module.h
index 1fbd6153ac..22f4c3f190 100644
--- a/src/lib/eina/eina_module.h
+++ b/src/lib/eina/eina_module.h
@@ -106,8 +106,8 @@ typedef void (*Eina_Module_Shutdown)(void);
106 */ 106 */
107#define EINA_MODULE_SHUTDOWN(f) EXPORTAPI Eina_Module_Shutdown __eina_module_shutdown = &f 107#define EINA_MODULE_SHUTDOWN(f) EXPORTAPI Eina_Module_Shutdown __eina_module_shutdown = &f
108 108
109extern EAPI Eina_Error EINA_ERROR_WRONG_MODULE; 109EAPI extern Eina_Error EINA_ERROR_WRONG_MODULE;
110extern EAPI Eina_Error EINA_ERROR_MODULE_INIT_FAILED; 110EAPI extern Eina_Error EINA_ERROR_MODULE_INIT_FAILED;
111 111
112/** 112/**
113 * @brief Returns a new module. 113 * @brief Returns a new module.
diff --git a/src/lib/elementary/Efl_Ui.h b/src/lib/elementary/Efl_Ui.h
index e2d0cf6abe..3a64e9fdb0 100644
--- a/src/lib/elementary/Efl_Ui.h
+++ b/src/lib/elementary/Efl_Ui.h
@@ -105,10 +105,10 @@
105extern "C" { 105extern "C" {
106#endif 106#endif
107 107
108extern EAPI double _efl_startup_time; 108EAPI extern double _efl_startup_time;
109 109
110/** Successfully applied the requested style from the current theme. */ 110/** Successfully applied the requested style from the current theme. */
111extern EAPI Eina_Error EFL_UI_THEME_APPLY_ERROR_NONE; 111EAPI extern Eina_Error EFL_UI_THEME_APPLY_ERROR_NONE;
112 112
113// EO types. Defined for legacy-only builds as legacy uses typedef of EO types. 113// EO types. Defined for legacy-only builds as legacy uses typedef of EO types.
114#include "efl_ui.eot.h" 114#include "efl_ui.eot.h"
diff --git a/src/lib/elementary/elm_code_parse.h b/src/lib/elementary/elm_code_parse.h
index 4b53e0f2c9..91cd5eba13 100644
--- a/src/lib/elementary/elm_code_parse.h
+++ b/src/lib/elementary/elm_code_parse.h
@@ -12,9 +12,9 @@ extern "C" {
12 12
13typedef struct _Elm_Code_Parser Elm_Code_Parser; 13typedef struct _Elm_Code_Parser Elm_Code_Parser;
14 14
15extern EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_SYNTAX; /**< A provided parser to provide syntax highlighting */ 15EAPI extern Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_SYNTAX; /**< A provided parser to provide syntax highlighting */
16extern EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_DIFF; /**< A provided parser that will mark up diff text */ 16EAPI extern Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_DIFF; /**< A provided parser that will mark up diff text */
17extern EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO; /**< A provided parser that will highlight TODO and FIXME lines */ 17EAPI extern Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO; /**< A provided parser that will highlight TODO and FIXME lines */
18 18
19/** 19/**
20 * @brief Parser helper functions. 20 * @brief Parser helper functions.
diff --git a/src/lib/elementary/elm_general.h b/src/lib/elementary/elm_general.h
index ff23de9f0f..84d7e49e79 100644
--- a/src/lib/elementary/elm_general.h
+++ b/src/lib/elementary/elm_general.h
@@ -522,7 +522,7 @@ EAPI extern int ELM_EVENT_PROCESS_FOREGROUND;
522 522
523typedef Eina_Bool (*Elm_Event_Cb)(void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info); /**< Function prototype definition for callbacks on input events happening on Elementary widgets. @a data will receive the user data pointer passed to elm_object_event_callback_add(). @a src will be a pointer to the widget on which the input event took place. @a type will get the type of this event and @a event_info, the struct with details on this event. */ 523typedef Eina_Bool (*Elm_Event_Cb)(void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info); /**< Function prototype definition for callbacks on input events happening on Elementary widgets. @a data will receive the user data pointer passed to elm_object_event_callback_add(). @a src will be a pointer to the widget on which the input event took place. @a type will get the type of this event and @a event_info, the struct with details on this event. */
524 524
525extern EAPI double _elm_startup_time; 525EAPI extern double _elm_startup_time;
526 526
527#ifndef ELM_LIB_QUICKLAUNCH 527#ifndef ELM_LIB_QUICKLAUNCH
528#define ELM_MAIN() int main(int argc, char **argv) { int ret__; _elm_startup_time = ecore_time_unix_get(); elm_init(argc, argv); ret__ = elm_main(argc, argv); elm_shutdown(); return ret__; } /**< macro to be used after the elm_main() function */ 528#define ELM_MAIN() int main(int argc, char **argv) { int ret__; _elm_startup_time = ecore_time_unix_get(); elm_init(argc, argv); ret__ = elm_main(argc, argv); elm_shutdown(); return ret__; } /**< macro to be used after the elm_main() function */
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 8a6d5dd855..88e3ff6b39 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -301,7 +301,7 @@
301#include "efl_ui.eot.h" 301#include "efl_ui.eot.h"
302typedef Eo Efl_Ui_Focus_Manager; 302typedef Eo Efl_Ui_Focus_Manager;
303 303
304extern EAPI Eina_Error EFL_UI_THEME_APPLY_ERROR_NONE; 304EAPI extern Eina_Error EFL_UI_THEME_APPLY_ERROR_NONE;
305 305
306#define _EFL_UI_FOCUS_MANAGER_EO_CLASS_TYPE 306#define _EFL_UI_FOCUS_MANAGER_EO_CLASS_TYPE
307#include "efl_ui_focus_object.eo.h" 307#include "efl_ui_focus_object.eo.h"
diff --git a/src/lib/evas/common/evas_font_private.h b/src/lib/evas/common/evas_font_private.h
index 213ef7f96f..4ff9a12ab1 100644
--- a/src/lib/evas/common/evas_font_private.h
+++ b/src/lib/evas/common/evas_font_private.h
@@ -4,7 +4,7 @@
4#include "evas_font.h" 4#include "evas_font.h"
5 5
6/* macros needed to log message through eina_log */ 6/* macros needed to log message through eina_log */
7extern EAPI int _evas_font_log_dom_global; 7EAPI extern int _evas_font_log_dom_global;
8#ifdef _EVAS_FONT_DEFAULT_LOG_DOM 8#ifdef _EVAS_FONT_DEFAULT_LOG_DOM
9# undef _EVAS_FONT_DEFAULT_LOG_DOM 9# undef _EVAS_FONT_DEFAULT_LOG_DOM
10#endif 10#endif
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 0190b27163..4d9368b31b 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -86,7 +86,7 @@
86#endif 86#endif
87 87
88/* macros needed to log message through eina_log */ 88/* macros needed to log message through eina_log */
89extern EAPI int _evas_log_dom_global; 89EAPI extern int _evas_log_dom_global;
90#ifdef _EVAS_DEFAULT_LOG_DOM 90#ifdef _EVAS_DEFAULT_LOG_DOM
91# undef _EVAS_DEFAULT_LOG_DOM 91# undef _EVAS_DEFAULT_LOG_DOM
92#endif 92#endif