From 3f5e8eb92b5c011fe679308b65a049dba4f0eb89 Mon Sep 17 00:00:00 2001 From: Francois-Olivier Devaux Date: Wed, 31 Jan 2007 15:19:54 +0000 Subject: [PATCH] Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation --- ChangeLog | 1 + codec/image_to_j2k.c | 2 +- libopenjpeg/j2k.c | 2 +- libopenjpeg/openjpeg.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd2aaed3..3b62d45b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ What's New for OpenJPEG + : added January 31, 2007 +! [FOD] Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation ! [FOD] Linux Makefile added for the codec January 30, 2007 diff --git a/codec/image_to_j2k.c b/codec/image_to_j2k.c index 4ecf0df1..98745ee6 100644 --- a/codec/image_to_j2k.c +++ b/codec/image_to_j2k.c @@ -978,7 +978,7 @@ int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *parameters) } break; -#endif USE_JPWL +#endif /* USE_JPWL */ /* <> 8 != 0xff) { opj_image_destroy(image); diff --git a/libopenjpeg/openjpeg.c b/libopenjpeg/openjpeg.c index 78da551c..e90fbb68 100644 --- a/libopenjpeg/openjpeg.c +++ b/libopenjpeg/openjpeg.c @@ -261,7 +261,7 @@ void OPJ_CALLCONV opj_set_default_encoder_parameters(opj_cparameters_t *paramete parameters->jpwl_sens_TPH[i] = -1; /* absent */ } }; -#endif USE_JPWL +#endif /* USE_JPWL */ /* <