src/lib/openjp2/*.h: use OPJ_ prefix for inclusion guards instead of reserved __...
authorEven Rouault <even.rouault@spatialys.com>
Sun, 30 Jul 2017 17:46:52 +0000 (19:46 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Sun, 30 Jul 2017 17:46:52 +0000 (19:46 +0200)
22 files changed:
src/lib/openjp2/bio.h
src/lib/openjp2/cio.h
src/lib/openjp2/dwt.h
src/lib/openjp2/event.h
src/lib/openjp2/function_list.h
src/lib/openjp2/image.h
src/lib/openjp2/invert.h
src/lib/openjp2/j2k.h
src/lib/openjp2/jp2.h
src/lib/openjp2/mct.h
src/lib/openjp2/mqc.h
src/lib/openjp2/mqc_inl.h
src/lib/openjp2/opj_clock.h
src/lib/openjp2/opj_codec.h
src/lib/openjp2/opj_intmath.h
src/lib/openjp2/opj_malloc.h
src/lib/openjp2/pi.h
src/lib/openjp2/t1.h
src/lib/openjp2/t2.h
src/lib/openjp2/tcd.h
src/lib/openjp2/tgt.h
src/lib/openjp2/tls_keys.h

index d55dd42a9ea3c6bae646e66aaad5225166a751a1..448fdda2190c95fba08c64717c7b8749321c03f5 100644 (file)
@@ -35,8 +35,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __BIO_H
-#define __BIO_H
+#ifndef OPJ_BIO_H
+#define OPJ_BIO_H
 
 #include <stddef.h> /* ptrdiff_t */
 
@@ -130,5 +130,5 @@ OPJ_BOOL opj_bio_inalign(opj_bio_t *bio);
 
 /*@}*/
 
-#endif /* __BIO_H */
+#endif /* OPJ_BIO_H */
 
index ae13389d6c24e1a311a0103aa71c1826c9ca8194..6996a9a0a1186f0db768caa7f17e6d6b1b423aa5 100644 (file)
@@ -37,8 +37,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __CIO_H
-#define __CIO_H
+#ifndef OPJ_CIO_H
+#define OPJ_CIO_H
 /**
 @file cio.h
 @brief Implementation of a byte input-output process (CIO)
@@ -408,5 +408,5 @@ OPJ_BOOL opj_stream_default_seek(OPJ_OFF_T p_nb_bytes, void * p_user_data);
 /*@}*/
 
 
-#endif /* __CIO_H */
+#endif /* OPJ_CIO_H */
 
index b3939c6f7eff057327d916e3dd25e76b762bdd6a..3c997efd4c29642bfd344c6d29e6c3d9bc29769b 100644 (file)
@@ -35,8 +35,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __DWT_H
-#define __DWT_H
+#ifndef OPJ_DWT_H
+#define OPJ_DWT_H
 /**
 @file dwt.h
 @brief Implementation of a discrete wavelet transform (DWT)
@@ -122,4 +122,4 @@ void opj_dwt_calc_explicit_stepsizes(opj_tccp_t * tccp, OPJ_UINT32 prec);
 
 /*@}*/
 
-#endif /* __DWT_H */
+#endif /* OPJ_DWT_H */
index 964fc1a66411753801f40eb8292fbc790ec8e81f..d880388d0741fa0a0b9b48ccad1576be2ef0c3cd 100644 (file)
@@ -30,8 +30,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __EVENT_H
-#define __EVENT_H
+#ifndef OPJ_EVENT_H
+#define OPJ_EVENT_H
 /**
 @file event.h
 @brief Implementation of a event callback system
@@ -105,4 +105,4 @@ void opj_set_default_event_handler(opj_event_mgr_t * p_manager);
 
 /*@}*/
 
-#endif /* __EVENT_H */
+#endif /* OPJ_EVENT_H */
index 1a4046e1d538543a0627919209c366e2ecde9c09..81a3954a1630c6a079ac2b4778a892a23c1af186 100644 (file)
@@ -29,8 +29,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __FUNCTION_LIST_H
-#define __FUNCTION_LIST_H
+#ifndef OPJ_FUNCTION_LIST_H
+#define OPJ_FUNCTION_LIST_H
 
 /**
  * @file function_list.h
@@ -130,5 +130,5 @@ opj_procedure* opj_procedure_list_get_first_procedure(opj_procedure_list_t *
 void opj_procedure_list_clear(opj_procedure_list_t * p_validation_list);
 /*@}*/
 
-#endif /* __FUNCTION_LIST_H */
+#endif /* OPJ_FUNCTION_LIST_H */
 
index e47b3aabaa5f2c042a0518ddfc255b13685133e3..bad83c61359b2f4cac5676bd435540637dec7e5e 100644 (file)
@@ -28,8 +28,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __IMAGE_H
-#define __IMAGE_H
+#ifndef OPJ_IMAGE_H
+#define OPJ_IMAGE_H
 /**
 @file image.h
 @brief Implementation of operations on images (IMAGE)
@@ -66,5 +66,5 @@ void opj_copy_image_header(const opj_image_t* p_image_src,
 
 /*@}*/
 
-#endif /* __IMAGE_H */
+#endif /* OPJ_IMAGE_H */
 
index f444d7fb22df2ba5ef7b58d04935acc63ded646c..70402135593e38f18d5da0dd6cdbaeb809bffae4 100644 (file)
@@ -29,8 +29,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __INVERT_H
-#define __INVERT_H
+#ifndef OPJ_INVERT_H
+#define OPJ_INVERT_H
 /**
 @file invert.h
 @brief Implementation of the matrix inversion
@@ -61,4 +61,4 @@ OPJ_BOOL opj_matrix_inversion_f(OPJ_FLOAT32 * pSrcMatrix,
 
 /*@}*/
 
-#endif /* __INVERT_H */
+#endif /* OPJ_INVERT_H */
index 64989a63ebb81cd4020cb5439fd1f181192354d9..5c5a359d07d066a9064d4e53c7eac995947a2cb9 100644 (file)
@@ -39,8 +39,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __J2K_H
-#define __J2K_H
+#ifndef OPJ_J2K_H
+#define OPJ_J2K_H
 /**
 @file j2k.h
 @brief The JPEG-2000 Codestream Reader/Writer (J2K)
@@ -849,4 +849,4 @@ OPJ_BOOL opj_j2k_end_compress(opj_j2k_t *p_j2k,
 OPJ_BOOL opj_j2k_setup_mct_encoding(opj_tcp_t * p_tcp, opj_image_t * p_image);
 
 
-#endif /* __J2K_H */
+#endif /* OPJ_J2K_H */
index 510a01bd38ba0b91b874d4679d06ca42498c5c66..2e248061d0d8e48baec1a0b029d039b67fc5df73 100644 (file)
@@ -33,8 +33,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __JP2_H
-#define __JP2_H
+#ifndef OPJ_JP2_H
+#define OPJ_JP2_H
 /**
 @file jp2.h
 @brief The JPEG-2000 file format Reader/Writer (JP2)
@@ -471,5 +471,5 @@ opj_codestream_index_t* jp2_get_cstr_index(opj_jp2_t* p_jp2);
 
 /*@}*/
 
-#endif /* __JP2_H */
+#endif /* OPJ_JP2_H */
 
index 293cdfe83fc09aa3a757527d5ce9e6cd94995537..0ed980e891cb1e39b005806b7ad851a0177f43c2 100644 (file)
@@ -37,8 +37,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MCT_H
-#define __MCT_H
+#ifndef OPJ_MCT_H
+#define OPJ_MCT_H
 /**
 @file mct.h
 @brief Implementation of a multi-component transforms (MCT)
@@ -156,4 +156,4 @@ const OPJ_FLOAT64 * opj_mct_get_mct_norms_real(void);
 
 /*@}*/
 
-#endif /* __MCT_H */
+#endif /* OPJ_MCT_H */
index 0bc7b2b7c86ab61b1d5b699ddaefc573140ef2ae..ac3aff108e3569d2894b7e607e4f036497bcd86d 100644 (file)
@@ -36,8 +36,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MQC_H
-#define __MQC_H
+#ifndef OPJ_MQC_H
+#define OPJ_MQC_H
 
 #include "opj_common.h"
 
@@ -268,4 +268,4 @@ Decode a symbol
 
 /*@}*/
 
-#endif /* __MQC_H */
+#endif /* OPJ_MQC_H */
index 832331ee683c7e1440ec1f517782582a105ffcb6..d95d9492ae0e487c671c44be0665fd239d245d1c 100644 (file)
@@ -36,8 +36,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MQC_INL_H
-#define __MQC_INL_H
+#ifndef OPJ_MQC_INL_H
+#define OPJ_MQC_INL_H
 
 /* For internal use of opj_mqc_decode_macro() */
 #define opj_mqc_mpsexchange_macro(d, curctx, a) \
@@ -193,4 +193,4 @@ Decode a symbol
 #define opj_mqc_decode(d, mqc) \
     opj_mqc_decode_macro(d, mqc, mqc->curctx, mqc->a, mqc->c, mqc->ct)
 
-#endif /* __MQC_INL_H */
+#endif /* OPJ_MQC_INL_H */
index a50eef24604ba93e4a73752f84b923bc4862624c..76366f53b501706c77eb790e76c2b5cc68c527bf 100644 (file)
@@ -28,8 +28,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __OPJ_CLOCK_H
-#define __OPJ_CLOCK_H
+#ifndef OPJ_CLOCK_H
+#define OPJ_CLOCK_H
 /**
 @file opj_clock.h
 @brief Internal function for timing
@@ -55,5 +55,5 @@ OPJ_FLOAT64 opj_clock(void);
 
 /*@}*/
 
-#endif /* __OPJ_CLOCK_H */
+#endif /* OPJ_CLOCK_H */
 
index 00ce9ab91bdeda96d0d8a2de8a66a5cf6d784d15..2dbeac96355f7d4776bf225c843210a62ba8c55b 100644 (file)
@@ -29,8 +29,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __OPJ_CODEC_H
-#define __OPJ_CODEC_H
+#ifndef OPJ_CODEC_H
+#define OPJ_CODEC_H
 /**
 @file opj_codec.h
 */
@@ -162,5 +162,5 @@ typedef struct opj_codec_private {
 opj_codec_private_t;
 
 
-#endif /* __OPJ_CODEC_H */
+#endif /* OPJ_CODEC_H */
 
index 64c87ed96c3a0c62756d7783d544739185924b93..cf97c15b12fd514688271084eee4c2b8d573949d 100644 (file)
@@ -34,8 +34,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __INT_H
-#define __INT_H
+#ifndef OPJ_INTMATH_H
+#define OPJ_INTMATH_H
 /**
 @file opj_intmath.h
 @brief Implementation of operations on integers (INT)
@@ -240,4 +240,4 @@ static INLINE OPJ_INT32 opj_int_fix_mul_t1(OPJ_INT32 a, OPJ_INT32 b)
 
 /*@}*/
 
-#endif
+#endif /* OPJ_INTMATH_H */
index 87c0e605bd41b52e8df5d5a224568209bdc36761..cbc4106c7c4338d573885bdec4e20aa170501b4e 100644 (file)
@@ -29,8 +29,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __OPJ_MALLOC_H
-#define __OPJ_MALLOC_H
+#ifndef OPJ_MALLOC_H
+#define OPJ_MALLOC_H
 
 #include <stddef.h>
 /**
@@ -102,5 +102,5 @@ void opj_free(void * m);
 
 /*@}*/
 
-#endif /* __OPJ_MALLOC_H */
+#endif /* OPJ_MALLOC_H */
 
index cc7f9b003666557b0ffe8795c822585086487d8f..8c0dc25c19dd962bf9e76994609a37ee41fc0cca 100644 (file)
@@ -35,8 +35,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __PI_H
-#define __PI_H
+#ifndef OPJ_PI_H
+#define OPJ_PI_H
 /**
 @file pi.h
 @brief Implementation of a packet iterator (PI)
@@ -187,4 +187,4 @@ OPJ_BOOL opj_pi_next(opj_pi_iterator_t * pi);
 
 /*@}*/
 
-#endif /* __PI_H */
+#endif /* OPJ_PI_H */
index 9d755b74c652216767464ec30257c976260183a8..6802d1889c1e5a6eaaec2c54428ad07848dcf5e2 100644 (file)
@@ -36,8 +36,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __T1_H
-#define __T1_H
+#ifndef OPJ_T1_H
+#define OPJ_T1_H
 /**
 @file t1.h
 @brief Implementation of the tier-1 coding (coding of code-block coefficients) (T1)
@@ -258,4 +258,4 @@ void opj_t1_destroy(opj_t1_t *p_t1);
 
 /*@}*/
 
-#endif /* __T1_H */
+#endif /* OPJ_T1_H */
index 63f7a21f5e13ff08a1a9272ff93dea4c65e08bb9..4013b9dbb3f34c4694d2949ac8bc5a96c6fa9b78 100644 (file)
@@ -36,8 +36,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __T2_H
-#define __T2_H
+#ifndef OPJ_T2_H
+#define OPJ_T2_H
 /**
 @file t2.h
 @brief Implementation of a tier-2 coding (packetization of code-block data) (T2)
@@ -132,4 +132,4 @@ void opj_t2_destroy(opj_t2_t *t2);
 
 /*@}*/
 
-#endif /* __T2_H */
+#endif /* OPJ_T2_H */
index 4f842b410ea3272fc8c00272130f5cf0614eff4a..cd750d1ba003e775866738aaf56ba34e392392ad 100644 (file)
@@ -36,8 +36,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __TCD_H
-#define __TCD_H
+#ifndef OPJ_TCD_H
+#define OPJ_TCD_H
 /**
 @file tcd.h
 @brief Implementation of a tile coder/decoder (TCD)
@@ -386,4 +386,4 @@ OPJ_BOOL opj_tcd_is_band_empty(opj_tcd_band_t* band);
 
 /*@}*/
 
-#endif /* __TCD_H */
+#endif /* OPJ_TCD_H */
index acc817ddea25e7311d6dbbf6fb9e44c87fac7b85..9818208b82075922ebd5007d4cab18f587efb122 100644 (file)
@@ -38,8 +38,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __TGT_H
-#define __TGT_H
+#ifndef OPJ_TGT_H
+#define OPJ_TGT_H
 /**
 @file tgt.h
 @brief Implementation of a tag-tree coder (TGT)
@@ -145,4 +145,4 @@ OPJ_UINT32 opj_tgt_decode(opj_bio_t *bio,
 
 /*@}*/
 
-#endif /* __TGT_H */
+#endif /* OPJ_TGT_H */
index ba0373a74d4d2ee7b366bd2ebb54b0d57dfd150b..23f847541845803136fb2c5ae6bc83da9a463c8b 100644 (file)
@@ -29,9 +29,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef TLS_KEYS_H
-#define TLS_KEYS_H
+#ifndef OPJ_TLS_KEYS_H
+#define OPJ_TLS_KEYS_H
 
 #define OPJ_TLS_KEY_T1  0
 
-#endif
+#endif /* OPJ_TLS_KEY_H */