diff --git a/legacy/eina/src/include/Eina.h b/legacy/eina/src/include/Eina.h index e6c3032e57..41d4d46232 100644 --- a/legacy/eina/src/include/Eina.h +++ b/legacy/eina/src/include/Eina.h @@ -138,6 +138,7 @@ extern "C" { #include "eina_config.h" #include "eina_types.h" +#include "eina_main.h" #include "eina_f16p16.h" #include "eina_rectangle.h" #include "eina_inlist.h" @@ -158,9 +159,6 @@ extern "C" { #include "eina_benchmark.h" #include "eina_convert.h" -EAPI int eina_init(void); -EAPI int eina_shutdown(void); - #ifdef __cplusplus } #endif diff --git a/legacy/eina/src/include/Makefile.am b/legacy/eina/src/include/Makefile.am index bb4de5d414..059daaad59 100644 --- a/legacy/eina/src/include/Makefile.am +++ b/legacy/eina/src/include/Makefile.am @@ -27,7 +27,8 @@ eina_benchmark.h \ eina_inline_rbtree.x \ eina_inline_mempool.x \ eina_inline_rectangle.x \ -eina_iterator.h +eina_iterator.h \ +eina_main.h installed_mainheaderdir = $(includedir)/eina-@VMAJ@ installed_mainheader_DATA = Eina.h eina_config.h @@ -36,7 +37,5 @@ installed_headersdir = $(includedir)/eina-@VMAJ@/eina installed_headers_DATA = $(EINAHEADERS) EXTRA_DIST = \ -Eina.h \ eina_config.h.in \ -$(EINAHEADERS) \ eina_private.h diff --git a/legacy/eina/src/include/eina_main.h b/legacy/eina/src/include/eina_main.h new file mode 100644 index 0000000000..d33071f2c6 --- /dev/null +++ b/legacy/eina/src/include/eina_main.h @@ -0,0 +1,26 @@ +/* EINA - EFL data type library + * Copyright (C) 2008 Cedric Bail + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; + * if not, see . + */ + +#ifndef EINA_MAIN_H_ +#define EINA_MAIN_H_ + +EAPI int eina_init(void); + +EAPI int eina_shutdown(void); + +#endif /* EINA_MAIN_H_ */