fix some errors when using future meson build system

Test Plan: compilation

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D12232
This commit is contained in:
Vincent Torri 2021-02-01 11:19:00 +00:00 committed by Carsten Haitzler (Rasterman)
parent cca2d207e6
commit 5712432988
4 changed files with 7 additions and 6 deletions

View File

@ -525,7 +525,7 @@ keygrabber_key_up_cb(void *data, Evas *e EINA_UNUSED,
ld->ctrl_pressed = EINA_FALSE; ld->ctrl_pressed = EINA_FALSE;
} }
Evas_Coord_Point static Evas_Coord_Point
calc_ctrl_pt_auto_align_pos(live_data *ld, int cursor_x, int cursor_y, calc_ctrl_pt_auto_align_pos(live_data *ld, int cursor_x, int cursor_y,
int align_in, int *align_out) int align_in, int *align_out)
{ {

View File

@ -255,7 +255,7 @@ args_dispatch(int argc, char **argv,
static const Ecore_Getopt optdesc = { static const Ecore_Getopt optdesc = {
PACKAGE_NAME, PACKAGE_NAME,
ENVENTOR_USAGE, ENVENTOR_USAGE,
VERSION, PACKAGE_VERSION,
ENVENTOR_COPYRIGHT, ENVENTOR_COPYRIGHT,
ENVENTOR_LICENSE, ENVENTOR_LICENSE,
ENVENTOR_INFO, ENVENTOR_INFO,
@ -849,7 +849,7 @@ keygrabber_key_down_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED,
} }
static void static void
statusbar_set() statusbar_set(void)
{ {
Evas_Object *obj = stats_init(base_layout_get()); Evas_Object *obj = stats_init(base_layout_get());
elm_object_part_content_set(base_layout_get(), "elm.swallow.statusbar", obj); elm_object_part_content_set(base_layout_get(), "elm.swallow.statusbar", obj);
@ -993,7 +993,7 @@ enventor_lock_create(void)
} }
static void static void
enventor_lock_remove() enventor_lock_remove(void)
{ {
//You are not the owner of the lock. //You are not the owner of the lock.
if (!own_lock) return; if (!own_lock) return;
@ -1155,7 +1155,7 @@ term(void)
} }
EAPI_MAIN EAPI_MAIN
int elm_main(int argc, char **argv) static int elm_main(int argc, char **argv)
{ {
app_data ad; app_data ad;
memset(&ad, 0x00, sizeof(ad)); memset(&ad, 0x00, sizeof(ad));

View File

@ -131,7 +131,7 @@ menu_back_btn_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
menu_close(md); menu_close(md);
} }
void static void
newfile_open(menu_data *md) newfile_open(menu_data *md)
{ {
if (md->newfile_layout) return; if (md->newfile_layout) return;

View File

@ -86,6 +86,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
#include "file_mgr.h" #include "file_mgr.h"
#include "build_setting.h" #include "build_setting.h"
#include "preference_setting.h" #include "preference_setting.h"
#include "text_setting.h"
#include "help.h" #include "help.h"
#include "file_tab.h" #include "file_tab.h"