From 0b623d4b63d67c21903c52693f117c24cef15a17 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Wed, 22 Aug 2012 12:10:10 +0100 Subject: [PATCH] lib/DtHelp: Include to prevent warnings about implicit declartion of free() --- cde/lib/DtHelp/il/ilX.c | 1 + cde/lib/DtHelp/il/ilcodec.c | 2 ++ cde/lib/DtHelp/il/ilcontext.c | 2 ++ cde/lib/DtHelp/il/ildecompg3.c | 1 + cde/lib/DtHelp/il/ildecompg4.c | 1 + cde/lib/DtHelp/il/ildecomplzw.c | 2 ++ cde/lib/DtHelp/il/ildither.c | 2 ++ cde/lib/DtHelp/il/ilgraybi.c | 2 ++ cde/lib/DtHelp/il/ilimage.c | 2 ++ cde/lib/DtHelp/il/iljpgdecode.c | 2 ++ cde/lib/DtHelp/il/iljpgdecodejif.c | 2 ++ cde/lib/DtHelp/il/iljpgdedct.c | 1 + cde/lib/DtHelp/il/iljpgdehuff.c | 2 ++ cde/lib/DtHelp/il/ilobject.c | 2 ++ cde/lib/DtHelp/il/ilpipe.c | 2 ++ cde/lib/DtHelp/il/iltiff.c | 2 ++ cde/lib/DtHelp/il/iltiffread.c | 2 ++ cde/lib/DtHelp/il/ilutiljpeg.c | 2 ++ cde/lib/DtHelp/il/ilycbcr.c | 2 ++ 19 files changed, 34 insertions(+) diff --git a/cde/lib/DtHelp/il/ilX.c b/cde/lib/DtHelp/il/ilX.c index 15cbe53b..79cf4ffd 100644 --- a/cde/lib/DtHelp/il/ilX.c +++ b/cde/lib/DtHelp/il/ilX.c @@ -41,6 +41,7 @@ #include "ilcontext.h" #include "ilX.h" #include +#include #include #include "ilpipelem.h" #include "ilerrors.h" diff --git a/cde/lib/DtHelp/il/ilcodec.c b/cde/lib/DtHelp/il/ilcodec.c index f08cb86b..992ec50e 100644 --- a/cde/lib/DtHelp/il/ilcodec.c +++ b/cde/lib/DtHelp/il/ilcodec.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "ilint.h" #include "ilpipelem.h" #include "ilpipeint.h" diff --git a/cde/lib/DtHelp/il/ilcontext.c b/cde/lib/DtHelp/il/ilcontext.c index e69445fb..978acc33 100644 --- a/cde/lib/DtHelp/il/ilcontext.c +++ b/cde/lib/DtHelp/il/ilcontext.c @@ -40,6 +40,8 @@ /* ilcontext.c - Contains ilCreate/DestroyContext() and related code. */ +#include + #include "ilint.h" #include "ilcontext.h" #include "ilerrors.h" diff --git a/cde/lib/DtHelp/il/ildecompg3.c b/cde/lib/DtHelp/il/ildecompg3.c index c0c9c196..8ab2b5b2 100644 --- a/cde/lib/DtHelp/il/ildecompg3.c +++ b/cde/lib/DtHelp/il/ildecompg3.c @@ -40,6 +40,7 @@ #include #include +#include #include "ilint.h" #include "ilpipelem.h" diff --git a/cde/lib/DtHelp/il/ildecompg4.c b/cde/lib/DtHelp/il/ildecompg4.c index 1938fd06..8876de8d 100644 --- a/cde/lib/DtHelp/il/ildecompg4.c +++ b/cde/lib/DtHelp/il/ildecompg4.c @@ -40,6 +40,7 @@ #include #include +#include #include "ilint.h" #include "ilpipelem.h" diff --git a/cde/lib/DtHelp/il/ildecomplzw.c b/cde/lib/DtHelp/il/ildecomplzw.c index 83a84f80..8f3eb0f1 100644 --- a/cde/lib/DtHelp/il/ildecomplzw.c +++ b/cde/lib/DtHelp/il/ildecomplzw.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "ilint.h" #include "ilpipelem.h" #include "ildecomp.h" diff --git a/cde/lib/DtHelp/il/ildither.c b/cde/lib/DtHelp/il/ildither.c index a1cb4444..46ba1e73 100644 --- a/cde/lib/DtHelp/il/ildither.c +++ b/cde/lib/DtHelp/il/ildither.c @@ -42,6 +42,8 @@ code (from John Francis) for converting by finding the best "n" colors. */ +#include + #include "ilint.h" #include "ilpipelem.h" #include "ilconvert.h" diff --git a/cde/lib/DtHelp/il/ilgraybi.c b/cde/lib/DtHelp/il/ilgraybi.c index 0515114e..fc3de705 100644 --- a/cde/lib/DtHelp/il/ilgraybi.c +++ b/cde/lib/DtHelp/il/ilgraybi.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "ilint.h" #include "ilpipelem.h" #include "ilconvert.h" diff --git a/cde/lib/DtHelp/il/ilimage.c b/cde/lib/DtHelp/il/ilimage.c index 01f38b5e..c74a63ea 100644 --- a/cde/lib/DtHelp/il/ilimage.c +++ b/cde/lib/DtHelp/il/ilimage.c @@ -40,6 +40,8 @@ /* /ilc/ilimage.c : General image handling code. */ +#include + #include "ilint.h" #include "ilpipelem.h" #include "ilimage.h" diff --git a/cde/lib/DtHelp/il/iljpgdecode.c b/cde/lib/DtHelp/il/iljpgdecode.c index 1373c7e8..4e3ee945 100644 --- a/cde/lib/DtHelp/il/iljpgdecode.c +++ b/cde/lib/DtHelp/il/iljpgdecode.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "iljpgdecodeint.h" diff --git a/cde/lib/DtHelp/il/iljpgdecodejif.c b/cde/lib/DtHelp/il/iljpgdecodejif.c index 2b4f4045..51c796d9 100644 --- a/cde/lib/DtHelp/il/iljpgdecodejif.c +++ b/cde/lib/DtHelp/il/iljpgdecodejif.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "iljpgdecodeint.h" diff --git a/cde/lib/DtHelp/il/iljpgdedct.c b/cde/lib/DtHelp/il/iljpgdedct.c index 697ad3be..6d7df3e0 100644 --- a/cde/lib/DtHelp/il/iljpgdedct.c +++ b/cde/lib/DtHelp/il/iljpgdedct.c @@ -39,6 +39,7 @@ #include "iljpgdecodeint.h" #include +#include /* 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. diff --git a/cde/lib/DtHelp/il/iljpgdehuff.c b/cde/lib/DtHelp/il/iljpgdehuff.c index 9c90bd84..1324cd48 100644 --- a/cde/lib/DtHelp/il/iljpgdehuff.c +++ b/cde/lib/DtHelp/il/iljpgdehuff.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "iljpgdecodeint.h" /* diff --git a/cde/lib/DtHelp/il/ilobject.c b/cde/lib/DtHelp/il/ilobject.c index 54e354cc..96f790ee 100644 --- a/cde/lib/DtHelp/il/ilobject.c +++ b/cde/lib/DtHelp/il/ilobject.c @@ -40,6 +40,8 @@ /* /ilc/ilobject.c : General object handling code, e.g. ilDestroyObject(). */ +#include + #include "ilint.h" #include "ilcontext.h" #include "ilerrors.h" diff --git a/cde/lib/DtHelp/il/ilpipe.c b/cde/lib/DtHelp/il/ilpipe.c index f96d8248..19a9ab51 100644 --- a/cde/lib/DtHelp/il/ilpipe.c +++ b/cde/lib/DtHelp/il/ilpipe.c @@ -42,6 +42,8 @@ implementation of pipes. */ +#include + #include "ilint.h" #include "ilimage.h" #include "ilpipelem.h" diff --git a/cde/lib/DtHelp/il/iltiff.c b/cde/lib/DtHelp/il/iltiff.c index a4474424..ddd4a538 100644 --- a/cde/lib/DtHelp/il/iltiff.c +++ b/cde/lib/DtHelp/il/iltiff.c @@ -41,6 +41,8 @@ those exposed in /ilc/iltiffint.h to other /ilc/iltiff*.c code. */ +#include + #include "iltiffint.h" #include "ilerrors.h" diff --git a/cde/lib/DtHelp/il/iltiffread.c b/cde/lib/DtHelp/il/iltiffread.c index a53fa519..e5e57008 100644 --- a/cde/lib/DtHelp/il/iltiffread.c +++ b/cde/lib/DtHelp/il/iltiffread.c @@ -41,6 +41,8 @@ to read from a TIFF file. See also /ilc/iltiff.c and /ilc/iltiffwrite.c . */ +#include + #include "iltiffint.h" #include "ilpipelem.h" #include "ilcodec.h" diff --git a/cde/lib/DtHelp/il/ilutiljpeg.c b/cde/lib/DtHelp/il/ilutiljpeg.c index b506b3ca..dafa85b2 100644 --- a/cde/lib/DtHelp/il/ilutiljpeg.c +++ b/cde/lib/DtHelp/il/ilutiljpeg.c @@ -37,6 +37,8 @@ *** ***-------------------------------------------------------------------*/ +#include + #include "ilint.h" #include "ilerrors.h" #include "iljpgdecode.h" diff --git a/cde/lib/DtHelp/il/ilycbcr.c b/cde/lib/DtHelp/il/ilycbcr.c index 588640a7..f940918c 100644 --- a/cde/lib/DtHelp/il/ilycbcr.c +++ b/cde/lib/DtHelp/il/ilycbcr.c @@ -40,6 +40,8 @@ /* /ilc/ilycbcr.c : Code for handling IL_YCBCR images, including conversions to/from RGB, and subsampling - upsampling is in /ilc/ilupsample.c */ +#include + #include "ilint.h" #include "ilpipelem.h" #include "ilconvert.h" -- 2.25.1