]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/global.h
use GDCM_NAME_SPACE:: instead of gdcm::, even in Examples ...
[gdcm.git] / src / gdcmjpegls / Decoder / global.h
index 9277ea5469c08947aa42bfee2625116f755c0ebd..6bf1206d49b77984582e574e66391d973ac0836e 100644 (file)
@@ -52,6 +52,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
+#include "jpegls_config.h"
 
 #ifndef GLOBAL_H
 #define GLOBAL_H
 
 #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();