X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Fglobal.h;h=6bf1206d49b77984582e574e66391d973ac0836e;hb=c2975ffb8c79fa4d745368d8d1c317c5a313dd0a;hp=9277ea5469c08947aa42bfee2625116f755c0ebd;hpb=94015b89675cf4431c7e4953a597b70cfde03bcc;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/global.h b/src/gdcmjpegls/Decoder/global.h index 9277ea54..6bf1206d 100644 --- a/src/gdcmjpegls/Decoder/global.h +++ b/src/gdcmjpegls/Decoder/global.h @@ -52,6 +52,7 @@ #include #include #include +#include "jpegls_config.h" #ifndef GLOBAL_H #define GLOBAL_H @@ -90,10 +91,6 @@ #define DEFAULT_COLOR_MODE LINE_INT -extern char *plane_int_string, - *line_int_string, - *pixel_int_string; - #ifndef BIG_ENDIAN #define BIG_ENDIAN 1 @@ -150,8 +147,6 @@ extern int sampling[MAX_COMPONENTS]; #define RIGHTMARGIN 1 -extern char *disclaimer; - /* alphabet size */ #define MAXA8 (256) @@ -333,7 +328,7 @@ extern int N[TOT_CONTEXTS], /****** Function prototypes */ /* global.c */ -void error(char *msg); +void error(const char *msg); void *safealloc(size_t size); void *safecalloc(size_t numels, size_t size); double get_utime();