summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Linke <christian.linke@bmw.de>2013-06-20 16:18:54 +0200
committerChristian Linke <christian.linke@bmw.de>2013-06-26 17:46:46 +0200
commite4107bd0ed54194a5cfef60c322fee63bbeeabb2 (patch)
tree260a26dff3ff731a6a1e1c7dabae5af5e2535542 /include
parente644ee75418c08aba72f388e376b83251c3a0b51 (diff)
downloadaudiomanager-e4107bd0ed54194a5cfef60c322fee63bbeeabb2.tar.gz
* remove some warnings
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'include')
-rw-r--r--include/shared/CAmSocketHandler.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/shared/CAmSocketHandler.h b/include/shared/CAmSocketHandler.h
index 272958a..1e91b5f 100644
--- a/include/shared/CAmSocketHandler.h
+++ b/include/shared/CAmSocketHandler.h
@@ -33,8 +33,6 @@ namespace am
#define MAX_NS 1000000000L
-static volatile sig_atomic_t gDispatchDone = 1; //this global is used to stop the mainloop
-
typedef uint16_t sh_timerHandle_t; //!<this is a handle for a timer to be used with the SocketHandler
typedef uint16_t sh_pollHandle_t; //!<this is a handle for a filedescriptor to be used with the SocketHandler
@@ -179,7 +177,7 @@ private:
static CAmSocketHandler* mInstance;
int mPipe[2];
-
+ int mDispatchDone; //this starts / stops the mainloop
struct sh_timer_s //!<struct that holds information of timers
{
sh_timerHandle_t handle; //!<the handle of the timer