summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-08 17:14:24 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-08 17:15:03 +0900
commit5b99d0f5616d345bc5890cd1260f2bd00e7d30b2 (patch)
treeb4110fb72321c41e3a26e587ae08ac425c84c159 /src/bin
parent5c1157d4ec956b3a38d1abb27297c368c91b049a (diff)
efl debug - start on common file for efl_debug tools for protocol
this should reduce duplication between debugd and debug tools
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/efl/efl_debug.c8
-rw-r--r--src/bin/efl/efl_debug_common.c1
-rw-r--r--src/bin/efl/efl_debug_common.h12
-rw-r--r--src/bin/efl/efl_debugd.c8
4 files changed, 15 insertions, 14 deletions
diff --git a/src/bin/efl/efl_debug.c b/src/bin/efl/efl_debug.c
index b1cd730ea4..b9800988ce 100644
--- a/src/bin/efl/efl_debug.c
+++ b/src/bin/efl/efl_debug.c
@@ -1,10 +1,4 @@
1#include <Eina.h> 1#include "efl_debug_common.h"
2#include <Ecore.h>
3#include <Ecore_Con.h>
4#include <stdio.h>
5#include <stdlib.h>
6#include <unistd.h>
7#include <string.h>
8 2
9static unsigned char *buf; 3static unsigned char *buf;
10static unsigned int buf_size; 4static unsigned int buf_size;
diff --git a/src/bin/efl/efl_debug_common.c b/src/bin/efl/efl_debug_common.c
new file mode 100644
index 0000000000..5b8c6f8f50
--- /dev/null
+++ b/src/bin/efl/efl_debug_common.c
@@ -0,0 +1 @@
#include "efl_debug_common.h"
diff --git a/src/bin/efl/efl_debug_common.h b/src/bin/efl/efl_debug_common.h
new file mode 100644
index 0000000000..435ddc0923
--- /dev/null
+++ b/src/bin/efl/efl_debug_common.h
@@ -0,0 +1,12 @@
1#ifndef EFL_DEBUG_COMMON_H
2#define EFL_DEBUG_COMMON_H 1
3
4#include <Eina.h>
5#include <Ecore.h>
6#include <Ecore_Con.h>
7#include <stdio.h>
8#include <stdlib.h>
9#include <unistd.h>
10#include <string.h>
11
12#endif
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index 7f369ac636..c102ed4a9b 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -1,10 +1,4 @@
1#include <Eina.h> 1#include "efl_debug_common.h"
2#include <Ecore.h>
3#include <Ecore_Con.h>
4#include <stdio.h>
5#include <stdlib.h>
6#include <unistd.h>
7#include <string.h>
8 2
9typedef struct _Client Client; 3typedef struct _Client Client;
10 4