summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_wm_check.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-12-13 17:20:24 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-12-13 17:20:24 +0000
commitd7f4fe1de14209b7d2587a602a01dd93f6714fad (patch)
tree29ace7d04af2c02398b7da59b1014a6b7242d77f /recordmydesktop/src/rmd_wm_check.c
parent61ab7edf42e5a7ff3b7d663a2661d3b60723cf14 (diff)
Added missing stdio.h and errno.h headers in any
files that needed them (could cause compilation failure on some platforms). Also, rearranged the sequence with which include's happen, so that any missing headers will be more likely to show up as copilation errors, in the future. rmd_yuv_utils.[ch] and rmd_block_utils.[ch] have been merged within the former, as they deal with the same subject (converting rgb buffers to yuv ones, with the only difference that rmd_block_utils had the double-buffer convertions while rmd_yuv_utils dealt with the single-buffered ones). Their headers also had the a circular dependency (rmd_yuv_utils.h included rmd_block_utils.h and vice-versa). rmd_math.[ch] was added. This file holds now the rmdRoundf function which is a portable implementation of roundf (which depends on C99). The reasoning behind the addition of these files, is that they might hold more purely mathematical functions, in the future. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@583 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/rmd_wm_check.c')
-rw-r--r--recordmydesktop/src/rmd_wm_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd_wm_check.c b/recordmydesktop/src/rmd_wm_check.c
index b0692da..39d86da 100644
--- a/recordmydesktop/src/rmd_wm_check.c
+++ b/recordmydesktop/src/rmd_wm_check.c
@@ -25,12 +25,12 @@
******************************************************************************/
#include "config.h"
-
-#include <X11/Xatom.h>
+#include "rmd_wm_check.h"
#include "rmd_types.h"
-#include "rmd_wm_check.h"
+#include <X11/Xatom.h>
+
char *rmdWMCheck(Display *dpy,Window root){
© All Rights Reserved