summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-14 08:29:53 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-14 08:29:53 +0000
commit5d115a5843d49efed91edce98c50ae92091dce42 (patch)
tree29323e057a1e85cbb14ee7171cadf45bd187315d /recordmydesktop/src
parentac27d4654fbc9c363c6007c9af3198502e4d1006 (diff)
src/block_utils.c
src/cache_audio.c src/cache_frame.c src/capture_sound.c src/encode_cache.c src/encode_image_buffer.c src/encode_sound_buffer.c src/flush_to_ogg.c src/get_frame.c src/getzpixmap.c src/init_encoder.c src/initialize_data.c src/load_cache.c src/make_dummy_pointer.c src/opendev.c src/parseargs.c src/poll_events.c src/queryextensions.c src/recordmydesktop.c src/rectinsert.c src/register_callbacks.c src/rmd_cache.c src/rmd_error.c src/rmd_frame.c src/rmd_jack.c src/rmd_rescue.c src/rmd_timer.c src/rmdmacro.h src/rmdthreads.c src/rmdtypes.h src/setbrwindow.c src/shortcuts.c src/specsfile.c src/test-rectinsert-data.c src/test-rectinsert.c src/update_image.c src/wm_check.c src/yuv_utils.c: There is no need for us to test if config.h exists. It's our pacakge, we know it exists. Also make sure that each .c files includes config.h as the first include. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@544 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r--recordmydesktop/src/block_utils.c2
-rw-r--r--recordmydesktop/src/cache_audio.c2
-rw-r--r--recordmydesktop/src/cache_frame.c2
-rw-r--r--recordmydesktop/src/capture_sound.c2
-rw-r--r--recordmydesktop/src/encode_cache.c2
-rw-r--r--recordmydesktop/src/encode_image_buffer.c2
-rw-r--r--recordmydesktop/src/encode_sound_buffer.c2
-rw-r--r--recordmydesktop/src/flush_to_ogg.c2
-rw-r--r--recordmydesktop/src/get_frame.c2
-rw-r--r--recordmydesktop/src/getzpixmap.c2
-rw-r--r--recordmydesktop/src/init_encoder.c1
-rw-r--r--recordmydesktop/src/initialize_data.c2
-rw-r--r--recordmydesktop/src/load_cache.c2
-rw-r--r--recordmydesktop/src/make_dummy_pointer.c2
-rw-r--r--recordmydesktop/src/opendev.c8
-rw-r--r--recordmydesktop/src/parseargs.c2
-rw-r--r--recordmydesktop/src/poll_events.c4
-rw-r--r--recordmydesktop/src/queryextensions.c2
-rw-r--r--recordmydesktop/src/recordmydesktop.c2
-rw-r--r--recordmydesktop/src/rectinsert.c1
-rw-r--r--recordmydesktop/src/register_callbacks.c2
-rw-r--r--recordmydesktop/src/rmd_cache.c2
-rw-r--r--recordmydesktop/src/rmd_error.c5
-rw-r--r--recordmydesktop/src/rmd_frame.c2
-rw-r--r--recordmydesktop/src/rmd_jack.c2
-rw-r--r--recordmydesktop/src/rmd_rescue.c2
-rw-r--r--recordmydesktop/src/rmd_timer.c4
-rw-r--r--recordmydesktop/src/rmdmacro.h4
-rw-r--r--recordmydesktop/src/rmdthreads.c4
-rw-r--r--recordmydesktop/src/rmdtypes.h4
-rw-r--r--recordmydesktop/src/setbrwindow.c2
-rw-r--r--recordmydesktop/src/shortcuts.c5
-rw-r--r--recordmydesktop/src/specsfile.c5
-rw-r--r--recordmydesktop/src/test-rectinsert-data.c2
-rw-r--r--recordmydesktop/src/test-rectinsert.c1
-rw-r--r--recordmydesktop/src/update_image.c2
-rw-r--r--recordmydesktop/src/wm_check.c2
-rw-r--r--recordmydesktop/src/yuv_utils.c2
38 files changed, 64 insertions, 34 deletions
diff --git a/recordmydesktop/src/block_utils.c b/recordmydesktop/src/block_utils.c
index 7cc29e5..99b4ce0 100644
--- a/recordmydesktop/src/block_utils.c
+++ b/recordmydesktop/src/block_utils.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "block_utils.h"
diff --git a/recordmydesktop/src/cache_audio.c b/recordmydesktop/src/cache_audio.c
index b74e128..25f86d3 100644
--- a/recordmydesktop/src/cache_audio.c
+++ b/recordmydesktop/src/cache_audio.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c
index 4e759ae..4528ae9 100644
--- a/recordmydesktop/src/cache_frame.c
+++ b/recordmydesktop/src/cache_frame.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <signal.h>
#include <math.h>
diff --git a/recordmydesktop/src/capture_sound.c b/recordmydesktop/src/capture_sound.c
index da7f742..0607aa7 100644
--- a/recordmydesktop/src/capture_sound.c
+++ b/recordmydesktop/src/capture_sound.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/encode_cache.c b/recordmydesktop/src/encode_cache.c
index f949565..a1d23a3 100644
--- a/recordmydesktop/src/encode_cache.c
+++ b/recordmydesktop/src/encode_cache.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/encode_image_buffer.c b/recordmydesktop/src/encode_image_buffer.c
index fe57007..aee3673 100644
--- a/recordmydesktop/src/encode_image_buffer.c
+++ b/recordmydesktop/src/encode_image_buffer.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "rmdtypes.h"
#include "encode_image_buffer.h"
diff --git a/recordmydesktop/src/encode_sound_buffer.c b/recordmydesktop/src/encode_sound_buffer.c
index 019a851..5b7c880 100644
--- a/recordmydesktop/src/encode_sound_buffer.c
+++ b/recordmydesktop/src/encode_sound_buffer.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/flush_to_ogg.c b/recordmydesktop/src/flush_to_ogg.c
index 4caf8b9..05007af 100644
--- a/recordmydesktop/src/flush_to_ogg.c
+++ b/recordmydesktop/src/flush_to_ogg.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/get_frame.c b/recordmydesktop/src/get_frame.c
index a2c3a57..bc221db 100644
--- a/recordmydesktop/src/get_frame.c
+++ b/recordmydesktop/src/get_frame.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <limits.h>
#include <pthread.h>
#include <sys/shm.h>
diff --git a/recordmydesktop/src/getzpixmap.c b/recordmydesktop/src/getzpixmap.c
index 9f3bcc8..b73bd01 100644
--- a/recordmydesktop/src/getzpixmap.c
+++ b/recordmydesktop/src/getzpixmap.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
#include <X11/extensions/shmstr.h>
diff --git a/recordmydesktop/src/init_encoder.c b/recordmydesktop/src/init_encoder.c
index ce36896..b093292 100644
--- a/recordmydesktop/src/init_encoder.c
+++ b/recordmydesktop/src/init_encoder.c
@@ -24,6 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
#include <string.h>
#include <sys/stat.h>
diff --git a/recordmydesktop/src/initialize_data.c b/recordmydesktop/src/initialize_data.c
index c67d574..72d38cb 100644
--- a/recordmydesktop/src/initialize_data.c
+++ b/recordmydesktop/src/initialize_data.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/load_cache.c b/recordmydesktop/src/load_cache.c
index b0fe412..4a86ada 100644
--- a/recordmydesktop/src/load_cache.c
+++ b/recordmydesktop/src/load_cache.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include <signal.h>
diff --git a/recordmydesktop/src/make_dummy_pointer.c b/recordmydesktop/src/make_dummy_pointer.c
index 98fb18f..77363e5 100644
--- a/recordmydesktop/src/make_dummy_pointer.c
+++ b/recordmydesktop/src/make_dummy_pointer.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "rmdtypes.h"
#include "make_dummy_pointer.h"
diff --git a/recordmydesktop/src/opendev.c b/recordmydesktop/src/opendev.c
index a3ef1cd..43d2dcd 100644
--- a/recordmydesktop/src/opendev.c
+++ b/recordmydesktop/src/opendev.c
@@ -24,13 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-
-
-
-// #include "recordmydesktop.h"
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
diff --git a/recordmydesktop/src/parseargs.c b/recordmydesktop/src/parseargs.c
index ddfafeb..863f34f 100644
--- a/recordmydesktop/src/parseargs.c
+++ b/recordmydesktop/src/parseargs.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "rmdtypes.h"
#include "rmd_rescue.h"
diff --git a/recordmydesktop/src/poll_events.c b/recordmydesktop/src/poll_events.c
index 88c3f3c..35e1320 100644
--- a/recordmydesktop/src/poll_events.c
+++ b/recordmydesktop/src/poll_events.c
@@ -24,9 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/recordmydesktop/src/queryextensions.c b/recordmydesktop/src/queryextensions.c
index 69fa212..3164932 100644
--- a/recordmydesktop/src/queryextensions.c
+++ b/recordmydesktop/src/queryextensions.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <X11/extensions/shape.h>
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xdamage.h>
diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c
index a4740ce..eeb04a5 100644
--- a/recordmydesktop/src/recordmydesktop.c
+++ b/recordmydesktop/src/recordmydesktop.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "rmdtypes.h"
#include "encode_cache.h"
diff --git a/recordmydesktop/src/rectinsert.c b/recordmydesktop/src/rectinsert.c
index 5e31a32..258ff6e 100644
--- a/recordmydesktop/src/rectinsert.c
+++ b/recordmydesktop/src/rectinsert.c
@@ -24,6 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
#include "rmdtypes.h"
#include "rectinsert.h"
diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c
index eb372d3..de6d93e 100644
--- a/recordmydesktop/src/register_callbacks.c
+++ b/recordmydesktop/src/register_callbacks.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <signal.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/rmd_cache.c b/recordmydesktop/src/rmd_cache.c
index aa8453e..6fa23eb 100644
--- a/recordmydesktop/src/rmd_cache.c
+++ b/recordmydesktop/src/rmd_cache.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <sys/stat.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/rmd_error.c b/recordmydesktop/src/rmd_error.c
index 7d27d02..1640ffe 100644
--- a/recordmydesktop/src/rmd_error.c
+++ b/recordmydesktop/src/rmd_error.c
@@ -24,10 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/recordmydesktop/src/rmd_frame.c b/recordmydesktop/src/rmd_frame.c
index cc58d54..ccda02e 100644
--- a/recordmydesktop/src/rmd_frame.c
+++ b/recordmydesktop/src/rmd_frame.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
diff --git a/recordmydesktop/src/rmd_jack.c b/recordmydesktop/src/rmd_jack.c
index 0b07234..9038781 100644
--- a/recordmydesktop/src/rmd_jack.c
+++ b/recordmydesktop/src/rmd_jack.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/rmd_rescue.c b/recordmydesktop/src/rmd_rescue.c
index 95f23b3..783636f 100644
--- a/recordmydesktop/src/rmd_rescue.c
+++ b/recordmydesktop/src/rmd_rescue.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <pthread.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/rmd_timer.c b/recordmydesktop/src/rmd_timer.c
index 12416f0..ed3dbc2 100644
--- a/recordmydesktop/src/rmd_timer.c
+++ b/recordmydesktop/src/rmd_timer.c
@@ -24,9 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <pthread.h>
#include <stdio.h>
diff --git a/recordmydesktop/src/rmdmacro.h b/recordmydesktop/src/rmdmacro.h
index 29688e5..c02adc2 100644
--- a/recordmydesktop/src/rmdmacro.h
+++ b/recordmydesktop/src/rmdmacro.h
@@ -27,9 +27,7 @@
#ifndef RMDMACRO_H
#define RMDMACRO_H 1
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <limits.h>
diff --git a/recordmydesktop/src/rmdthreads.c b/recordmydesktop/src/rmdthreads.c
index 96a37ff..6fac928 100644
--- a/recordmydesktop/src/rmdthreads.c
+++ b/recordmydesktop/src/rmdthreads.c
@@ -24,9 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <pthread.h>
#include <stdio.h>
diff --git a/recordmydesktop/src/rmdtypes.h b/recordmydesktop/src/rmdtypes.h
index 8d6f98c..e520c84 100644
--- a/recordmydesktop/src/rmdtypes.h
+++ b/recordmydesktop/src/rmdtypes.h
@@ -25,9 +25,7 @@
#ifndef RMDTYPES_H
#define RMDTYPES_H 1
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <pthread.h>
#include <zlib.h>
diff --git a/recordmydesktop/src/setbrwindow.c b/recordmydesktop/src/setbrwindow.c
index b3bed24..edc4d14 100644
--- a/recordmydesktop/src/setbrwindow.c
+++ b/recordmydesktop/src/setbrwindow.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "rmdtypes.h"
#include "setbrwindow.h"
diff --git a/recordmydesktop/src/shortcuts.c b/recordmydesktop/src/shortcuts.c
index 215ff16..a449f57 100644
--- a/recordmydesktop/src/shortcuts.c
+++ b/recordmydesktop/src/shortcuts.c
@@ -24,10 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/recordmydesktop/src/specsfile.c b/recordmydesktop/src/specsfile.c
index d22d2b3..a34037f 100644
--- a/recordmydesktop/src/specsfile.c
+++ b/recordmydesktop/src/specsfile.c
@@ -24,10 +24,7 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
-
-#ifdef HAVE_CONFIG_H
- #include "config.h"
-#endif
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
diff --git a/recordmydesktop/src/test-rectinsert-data.c b/recordmydesktop/src/test-rectinsert-data.c
index 45ed23a..15b567e 100644
--- a/recordmydesktop/src/test-rectinsert-data.c
+++ b/recordmydesktop/src/test-rectinsert-data.c
@@ -20,6 +20,8 @@
* *
******************************************************************************/
+#include "config.h"
+
#include "test-rectinsert-types.h"
#include "test-rectinsert-data.h"
diff --git a/recordmydesktop/src/test-rectinsert.c b/recordmydesktop/src/test-rectinsert.c
index f1c844f..d79d2f8 100644
--- a/recordmydesktop/src/test-rectinsert.c
+++ b/recordmydesktop/src/test-rectinsert.c
@@ -20,6 +20,7 @@
* *
******************************************************************************/
+#include "config.h"
#include "rmdtypes.h"
#include "test-rectinsert-types.h"
diff --git a/recordmydesktop/src/update_image.c b/recordmydesktop/src/update_image.c
index 5d52af3..7d22cc9 100644
--- a/recordmydesktop/src/update_image.c
+++ b/recordmydesktop/src/update_image.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <X11/Xlibint.h>
#include <X11/extensions/shmstr.h>
#include <X11/extensions/XShm.h>
diff --git a/recordmydesktop/src/wm_check.c b/recordmydesktop/src/wm_check.c
index 558de41..79bff6b 100644
--- a/recordmydesktop/src/wm_check.c
+++ b/recordmydesktop/src/wm_check.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include <X11/Xatom.h>
#include "rmdtypes.h"
diff --git a/recordmydesktop/src/yuv_utils.c b/recordmydesktop/src/yuv_utils.c
index e80c5e2..742905e 100644
--- a/recordmydesktop/src/yuv_utils.c
+++ b/recordmydesktop/src/yuv_utils.c
@@ -24,6 +24,8 @@
* For further information contact me at johnvarouhakis@gmail.com *
******************************************************************************/
+#include "config.h"
+
#include "yuv_utils.h"
// Keep these global (for performance reasons I assume).
© All Rights Reserved