summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 08:27:57 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 08:27:57 +0000
commit298d1e722f5ae224c99af1151ede6760fafa9739 (patch)
treeaa2c1bb5337dac81b6672039bed9bb5ee6a00037 /recordmydesktop
parentecc7ccf4143ad100ddffa2ce99845a384341f369 (diff)
include/rmdtypes.h: No need to include <signal.h>
src/load_cache.c src/cache_frame.c src/poll_events.c src/initialize_data.c src/register_callbacks.c: Include <signal.h> git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@524 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/include/rmdtypes.h1
-rw-r--r--recordmydesktop/src/cache_frame.c4
-rw-r--r--recordmydesktop/src/initialize_data.c1
-rw-r--r--recordmydesktop/src/load_cache.c1
-rw-r--r--recordmydesktop/src/poll_events.c2
-rw-r--r--recordmydesktop/src/register_callbacks.c1
6 files changed, 6 insertions, 4 deletions
diff --git a/recordmydesktop/include/rmdtypes.h b/recordmydesktop/include/rmdtypes.h
index 2601211..7fdb59b 100644
--- a/recordmydesktop/include/rmdtypes.h
+++ b/recordmydesktop/include/rmdtypes.h
@@ -38,7 +38,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
-#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
#ifdef HAVE_MACHINE_ENDIAN_H
diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c
index d12d57f..f7f1f75 100644
--- a/recordmydesktop/src/cache_frame.c
+++ b/recordmydesktop/src/cache_frame.c
@@ -24,7 +24,9 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-#include <recordmydesktop.h>
+#include <signal.h>
+
+#include "recordmydesktop.h"
//minimize hard disk access
diff --git a/recordmydesktop/src/initialize_data.c b/recordmydesktop/src/initialize_data.c
index 30a0ab8..df30292 100644
--- a/recordmydesktop/src/initialize_data.c
+++ b/recordmydesktop/src/initialize_data.c
@@ -112,7 +112,6 @@ int InitializeData(ProgData *pdata,
pdata->running=1;
time_cond=&pdata->time_cond;
pause_cond=&pdata->pause_cond;
- Running=&pdata->running;
PauseStateChanged=0;
if(!pdata->args.nosound){
diff --git a/recordmydesktop/src/load_cache.c b/recordmydesktop/src/load_cache.c
index 460331b..d25077e 100644
--- a/recordmydesktop/src/load_cache.c
+++ b/recordmydesktop/src/load_cache.c
@@ -24,6 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include <signal.h>
#include "recordmydesktop.h"
diff --git a/recordmydesktop/src/poll_events.c b/recordmydesktop/src/poll_events.c
index 5cbb16d..c8263df 100644
--- a/recordmydesktop/src/poll_events.c
+++ b/recordmydesktop/src/poll_events.c
@@ -24,7 +24,6 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -34,6 +33,7 @@
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
#include <X11/extensions/Xdamage.h>
+#include <signal.h>
#include <pthread.h>
#include "rmdfunc.h"
diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c
index 7e9e090..8b96d4b 100644
--- a/recordmydesktop/src/register_callbacks.c
+++ b/recordmydesktop/src/register_callbacks.c
@@ -24,6 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include <signal.h>
#include "recordmydesktop.h"
© All Rights Reserved