Header cleanup. Don't include unneeded headers in system lib header.
SVN revision: 16550
This commit is contained in:
parent
150b139bdf
commit
d758ca86bb
|
@ -1,6 +1,9 @@
|
|||
/* Example of how to set and retrieve program arguments.
|
||||
*/
|
||||
#include <Ecore.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int timer_once(void *data)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
/* Ecore Event Handler Example. */
|
||||
#include <Ecore.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Ecore_Event_Handler *handler1 = NULL, *handler2 = NULL;
|
||||
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
*/
|
||||
|
||||
#include <Ecore.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Ecore_Timer *timer1 = NULL;
|
||||
Ecore_Timer *timer2 = NULL;
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#include "config.h"
|
||||
#include "Ecore.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef BUILD_ECORE_CONFIG
|
||||
#include "Ecore_Config.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
#include "config.h"
|
||||
#include "Ecore.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef BUILD_ECORE_EVAS
|
||||
#include "Ecore_Evas.h"
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/* APP GLOBALS */
|
||||
double start_time = 0;
|
||||
|
|
|
@ -41,51 +41,12 @@
|
|||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <Ecore_Data.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(x, y) (((x) > (y)) ? (y) : (x))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#endif
|
||||
|
||||
#ifndef ABS
|
||||
#define ABS(x) ((x) < 0 ? -(x) : (x))
|
||||
#endif
|
||||
|
||||
#ifndef CLAMP
|
||||
#define CLAMP(x, min, max) (((x) > (max)) ? (max) : (((x) < (min)) ? (min) : (x)))
|
||||
#endif
|
||||
|
||||
#define ECORE_EVENT_NONE 0
|
||||
#define ECORE_EVENT_EXE_EXIT 1 /**< Spawned Exe has exit event */
|
||||
#define ECORE_EVENT_SIGNAL_USER 2 /**< User signal event */
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
#define ECORE_HASH_CHAIN_MAX 3
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "ecore_private.h"
|
||||
#include "Ecore.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
/* Return information about the list */
|
||||
static void *_ecore_list_current(Ecore_List * list);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
static Ecore_List *group_list = NULL;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -3,12 +3,15 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <sys/mman.h>
|
||||
|
@ -24,6 +27,34 @@
|
|||
#define __UNUSED__
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(x, y) (((x) > (y)) ? (y) : (x))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#endif
|
||||
|
||||
#ifndef ABS
|
||||
#define ABS(x) ((x) < 0 ? -(x) : (x))
|
||||
#endif
|
||||
|
||||
#ifndef CLAMP
|
||||
#define CLAMP(x, min, max) (((x) > (max)) ? (max) : (((x) < (min)) ? (min) : (x)))
|
||||
#endif
|
||||
|
||||
#define ECORE_MAGIC_NONE 0x1234fedc
|
||||
#define ECORE_MAGIC_EXE 0xf7e812f5
|
||||
#define ECORE_MAGIC_TIMER 0xf7d713f4
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
static void _ecore_sheap_heapify(Ecore_Sheap *heap, int i);
|
||||
static void _ecore_sheap_update_data(Ecore_Sheap *heap);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
static Ecore_Hash *ecore_strings = NULL;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
/* A macro for determining the highest node at given branch */
|
||||
#define MAX_HEIGHT(node) (node ? MAX(node->max_left, node->max_right) : 0)
|
||||
|
|
|
@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
*/
|
||||
|
||||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
|
||||
const unsigned int ecore_prime_table[] = { 17, 31, 61, 127, 257, 509, 1021,
|
||||
2053, 4093, 8191, 16381, 32771, 65537, 131071, 262147, 524287, 1048573,
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _ECORE_CON_PRIVATE_H
|
||||
#define _ECORE_CON_PRIVATE_H
|
||||
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
#define ECORE_MAGIC_CON_SERVER 0x77665544
|
||||
#define ECORE_MAGIC_CON_CLIENT 0x77556677
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#ifndef _ECORE_EVAS_PRIVATE_H
|
||||
#define _ECORE_EVAS_PRIVATE_H
|
||||
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _ECORE_IPC_PRIVATE_H
|
||||
#define _ECORE_IPC_PRIVATE_H
|
||||
|
||||
#include "Ecore_Data.h"
|
||||
|
||||
#if USE_OPENSSL
|
||||
#include <openssl/ssl.h>
|
||||
#endif
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <X11/extensions/Xrandr.h>
|
||||
#endif
|
||||
|
||||
#include "ecore_private.h"
|
||||
#include "Ecore_X.h"
|
||||
|
||||
/* FIXME: this is for simulation only */
|
||||
|
|
Loading…
Reference in New Issue