From d7f4fe1de14209b7d2587a602a01dd93f6714fad Mon Sep 17 00:00:00 2001 From: iovar Date: Sat, 13 Dec 2008 17:20:24 +0000 Subject: 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 --- recordmydesktop/src/rmd_update_image.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'recordmydesktop/src/rmd_update_image.c') diff --git a/recordmydesktop/src/rmd_update_image.c b/recordmydesktop/src/rmd_update_image.c index 458172e..502b859 100644 --- a/recordmydesktop/src/rmd_update_image.c +++ b/recordmydesktop/src/rmd_update_image.c @@ -25,17 +25,16 @@ ******************************************************************************/ #include "config.h" +#include "rmd_update_image.h" + +#include "rmd_getzpixmap.h" +#include "rmd_yuv_utils.h" +#include "rmd_types.h" #include #include #include -#include "rmd_types.h" - -#include "rmd_getzpixmap.h" -#include "rmd_update_image.h" -#include "rmd_yuv_utils.h" - void UpdateImage(Display * dpy, yuv_buffer *yuv, -- cgit v1.2.1