X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjpeg%2Fljpg%2Fjpegutil.c;h=06352ae5de271ca6d89d0de0ba29fbe8c691fb98;hb=16427285cc469276c1664a3e0f69867c59342e32;hp=022332b9d933f3d54237354d6d20e900868740e3;hpb=769cf91297c76f800eeb884a429dfc44bfbd1d7e;p=gdcm.git diff --git a/src/jpeg/ljpg/jpegutil.c b/src/jpeg/ljpg/jpegutil.c index 022332b9..06352ae5 100644 --- a/src/jpeg/ljpg/jpegutil.c +++ b/src/jpeg/ljpg/jpegutil.c @@ -5,7 +5,7 @@ * are stolen from the IJG code */ /* - * $Id: jpegutil.c,v 1.1 2003/10/21 12:08:54 jpr Exp $ + * $Id: jpegutil.c,v 1.2 2004/08/18 02:26:08 malaterre Exp $ */ #include #include @@ -19,10 +19,10 @@ * Enough memory is reserved to accomodate up to 1024-wide images * with up to 4 components. */ -char mcuROW1Memory[1024 * sizeof(MCU)]; -char mcuROW2Memory[1024 * sizeof(MCU)]; -char buf1Memory[1024 * 4 * sizeof(ComponentType)]; -char buf2Memory[1024 * 4 * sizeof(ComponentType)]; +static char mcuROW1Memory[1024 * sizeof(MCU)]; +static char mcuROW2Memory[1024 * sizeof(MCU)]; +static char buf1Memory[1024 * 4 * sizeof(ComponentType)]; +static char buf2Memory[1024 * 4 * sizeof(ComponentType)]; unsigned int bitMask[] = { 0xffffffff, 0x7fffffff, 0x3fffffff, 0x1fffffff,