1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

lib/DtHelp: Include <stdio.h> to prevent warnings about implicit declartion of free()

This commit is contained in:
Peter Howkins 2012-08-22 12:10:10 +01:00
parent f6f54a4037
commit 0b623d4b63
19 changed files with 34 additions and 0 deletions

View file

@ -41,6 +41,7 @@
#include "ilcontext.h" #include "ilcontext.h"
#include "ilX.h" #include "ilX.h"
#include <math.h> #include <math.h>
#include <stdlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilerrors.h" #include "ilerrors.h"

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilpipeint.h" #include "ilpipeint.h"

View file

@ -40,6 +40,8 @@
/* ilcontext.c - Contains ilCreate/DestroyContext() and related code. /* ilcontext.c - Contains ilCreate/DestroyContext() and related code.
*/ */
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilcontext.h" #include "ilcontext.h"
#include "ilerrors.h" #include "ilerrors.h"

View file

@ -40,6 +40,7 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"

View file

@ -40,6 +40,7 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ildecomp.h" #include "ildecomp.h"

View file

@ -42,6 +42,8 @@
code (from John Francis) for converting by finding the best "n" colors. code (from John Francis) for converting by finding the best "n" colors.
*/ */
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilconvert.h" #include "ilconvert.h"

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilconvert.h" #include "ilconvert.h"

View file

@ -40,6 +40,8 @@
/* /ilc/ilimage.c : General image handling code. /* /ilc/ilimage.c : General image handling code.
*/ */
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilimage.h" #include "ilimage.h"

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "iljpgdecodeint.h" #include "iljpgdecodeint.h"

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "iljpgdecodeint.h" #include "iljpgdecodeint.h"

View file

@ -39,6 +39,7 @@
#include "iljpgdecodeint.h" #include "iljpgdecodeint.h"
#include <math.h> #include <math.h>
#include <stdlib.h>
/* Macros to check if "clipValue" (an int) is outside range 0..255, and /* Macros to check if "clipValue" (an int) is outside range 0..255, and
to branch to point named by second macro if so, which clips and returns. to branch to point named by second macro if so, which clips and returns.

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "iljpgdecodeint.h" #include "iljpgdecodeint.h"
/* /*

View file

@ -40,6 +40,8 @@
/* /ilc/ilobject.c : General object handling code, e.g. ilDestroyObject(). /* /ilc/ilobject.c : General object handling code, e.g. ilDestroyObject().
*/ */
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilcontext.h" #include "ilcontext.h"
#include "ilerrors.h" #include "ilerrors.h"

View file

@ -42,6 +42,8 @@
implementation of pipes. implementation of pipes.
*/ */
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilimage.h" #include "ilimage.h"
#include "ilpipelem.h" #include "ilpipelem.h"

View file

@ -41,6 +41,8 @@
those exposed in /ilc/iltiffint.h to other /ilc/iltiff*.c code. those exposed in /ilc/iltiffint.h to other /ilc/iltiff*.c code.
*/ */
#include <stdlib.h>
#include "iltiffint.h" #include "iltiffint.h"
#include "ilerrors.h" #include "ilerrors.h"

View file

@ -41,6 +41,8 @@
to read from a TIFF file. See also /ilc/iltiff.c and /ilc/iltiffwrite.c . to read from a TIFF file. See also /ilc/iltiff.c and /ilc/iltiffwrite.c .
*/ */
#include <stdlib.h>
#include "iltiffint.h" #include "iltiffint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilcodec.h" #include "ilcodec.h"

View file

@ -37,6 +37,8 @@
*** ***
***-------------------------------------------------------------------*/ ***-------------------------------------------------------------------*/
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilerrors.h" #include "ilerrors.h"
#include "iljpgdecode.h" #include "iljpgdecode.h"

View file

@ -40,6 +40,8 @@
/* /ilc/ilycbcr.c : Code for handling IL_YCBCR images, including /* /ilc/ilycbcr.c : Code for handling IL_YCBCR images, including
conversions to/from RGB, and subsampling - upsampling is in /ilc/ilupsample.c conversions to/from RGB, and subsampling - upsampling is in /ilc/ilupsample.c
*/ */
#include <stdlib.h>
#include "ilint.h" #include "ilint.h"
#include "ilpipelem.h" #include "ilpipelem.h"
#include "ilconvert.h" #include "ilconvert.h"