From de08d72741c696f8f2988f2db3f02c773e0fb6f5 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 22 Aug 2018 14:46:53 -0700 Subject: [PATCH] cosmetics: normalize include guard comment Change-Id: I0e08ec604aad8412cfe3d3670d773f4ae5650375 --- examples/stopwatch.h | 2 +- extras/extras.h | 2 +- src/dec/alphai_dec.h | 2 +- src/dec/common_dec.h | 2 +- src/dec/vp8_dec.h | 2 +- src/dec/vp8i_dec.h | 2 +- src/dec/vp8li_dec.h | 2 +- src/dec/webpi_dec.h | 2 +- src/dsp/dsp.h | 2 +- src/dsp/msa_macro.h | 2 +- src/dsp/yuv.h | 2 +- src/enc/cost_enc.h | 2 +- src/enc/vp8i_enc.h | 2 +- src/enc/vp8li_enc.h | 2 +- src/mux/animi.h | 2 +- src/mux/muxi.h | 2 +- src/utils/bit_reader_inl_utils.h | 2 +- src/utils/bit_reader_utils.h | 2 +- src/utils/bit_writer_utils.h | 2 +- src/utils/filters_utils.h | 2 +- src/utils/quant_levels_dec_utils.h | 2 +- src/utils/quant_levels_utils.h | 2 +- src/utils/random_utils.h | 2 +- src/utils/rescaler_utils.h | 2 +- src/utils/thread_utils.h | 2 +- src/utils/utils.h | 2 +- src/webp/decode.h | 2 +- src/webp/demux.h | 2 +- src/webp/encode.h | 2 +- src/webp/format_constants.h | 2 +- src/webp/mux.h | 2 +- src/webp/mux_types.h | 2 +- src/webp/types.h | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/examples/stopwatch.h b/examples/stopwatch.h index f9e799cb..f1b0faca 100644 --- a/examples/stopwatch.h +++ b/examples/stopwatch.h @@ -60,4 +60,4 @@ static WEBP_INLINE double StopwatchReadAndReset(Stopwatch* watch) { #endif /* _WIN32 */ -#endif /* WEBP_EXAMPLES_STOPWATCH_H_ */ +#endif // WEBP_EXAMPLES_STOPWATCH_H_ diff --git a/extras/extras.h b/extras/extras.h index fd4437a0..e30c109e 100644 --- a/extras/extras.h +++ b/extras/extras.h @@ -67,4 +67,4 @@ WEBP_EXTERN int VP8EstimateQuality(const uint8_t* const data, size_t size); } // extern "C" #endif -#endif /* WEBP_EXTRAS_EXTRAS_H_ */ +#endif // WEBP_EXTRAS_EXTRAS_H_ diff --git a/src/dec/alphai_dec.h b/src/dec/alphai_dec.h index e0fa281a..a64104ab 100644 --- a/src/dec/alphai_dec.h +++ b/src/dec/alphai_dec.h @@ -51,4 +51,4 @@ void WebPDeallocateAlphaMemory(VP8Decoder* const dec); } // extern "C" #endif -#endif /* WEBP_DEC_ALPHAI_DEC_H_ */ +#endif // WEBP_DEC_ALPHAI_DEC_H_ diff --git a/src/dec/common_dec.h b/src/dec/common_dec.h index 9995f1a5..b158550a 100644 --- a/src/dec/common_dec.h +++ b/src/dec/common_dec.h @@ -51,4 +51,4 @@ enum { MB_FEATURE_TREE_PROBS = 3, NUM_PROBAS = 11 }; -#endif // WEBP_DEC_COMMON_DEC_H_ +#endif // WEBP_DEC_COMMON_DEC_H_ diff --git a/src/dec/vp8_dec.h b/src/dec/vp8_dec.h index ca85b340..a05405df 100644 --- a/src/dec/vp8_dec.h +++ b/src/dec/vp8_dec.h @@ -182,4 +182,4 @@ WEBP_EXTERN int VP8LGetInfo( } // extern "C" #endif -#endif /* WEBP_DEC_VP8_DEC_H_ */ +#endif // WEBP_DEC_VP8_DEC_H_ diff --git a/src/dec/vp8i_dec.h b/src/dec/vp8i_dec.h index c929933e..f5fa4bee 100644 --- a/src/dec/vp8i_dec.h +++ b/src/dec/vp8i_dec.h @@ -316,4 +316,4 @@ const uint8_t* VP8DecompressAlphaRows(VP8Decoder* const dec, } // extern "C" #endif -#endif /* WEBP_DEC_VP8I_DEC_H_ */ +#endif // WEBP_DEC_VP8I_DEC_H_ diff --git a/src/dec/vp8li_dec.h b/src/dec/vp8li_dec.h index 8e500cf9..0a4d613f 100644 --- a/src/dec/vp8li_dec.h +++ b/src/dec/vp8li_dec.h @@ -132,4 +132,4 @@ void VP8LDelete(VP8LDecoder* const dec); } // extern "C" #endif -#endif /* WEBP_DEC_VP8LI_DEC_H_ */ +#endif // WEBP_DEC_VP8LI_DEC_H_ diff --git a/src/dec/webpi_dec.h b/src/dec/webpi_dec.h index c378ba6f..24baff5d 100644 --- a/src/dec/webpi_dec.h +++ b/src/dec/webpi_dec.h @@ -130,4 +130,4 @@ int WebPAvoidSlowMemory(const WebPDecBuffer* const output, } // extern "C" #endif -#endif /* WEBP_DEC_WEBPI_DEC_H_ */ +#endif // WEBP_DEC_WEBPI_DEC_H_ diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h index 4ab77a51..bc3de6c0 100644 --- a/src/dsp/dsp.h +++ b/src/dsp/dsp.h @@ -679,4 +679,4 @@ void VP8FiltersInit(void); } // extern "C" #endif -#endif /* WEBP_DSP_DSP_H_ */ +#endif // WEBP_DSP_DSP_H_ diff --git a/src/dsp/msa_macro.h b/src/dsp/msa_macro.h index dfacda6c..de026a1d 100644 --- a/src/dsp/msa_macro.h +++ b/src/dsp/msa_macro.h @@ -1389,4 +1389,4 @@ static WEBP_INLINE uint32_t func_hadd_uh_u32(v8u16 in) { } while (0) #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) -#endif /* WEBP_DSP_MSA_MACRO_H_ */ +#endif // WEBP_DSP_MSA_MACRO_H_ diff --git a/src/dsp/yuv.h b/src/dsp/yuv.h index eb787270..c12be1d0 100644 --- a/src/dsp/yuv.h +++ b/src/dsp/yuv.h @@ -207,4 +207,4 @@ static WEBP_INLINE int VP8RGBToV(int r, int g, int b, int rounding) { } // extern "C" #endif -#endif /* WEBP_DSP_YUV_H_ */ +#endif // WEBP_DSP_YUV_H_ diff --git a/src/enc/cost_enc.h b/src/enc/cost_enc.h index bdce1e6a..a4b177b3 100644 --- a/src/enc/cost_enc.h +++ b/src/enc/cost_enc.h @@ -79,4 +79,4 @@ extern const uint16_t VP8FixedCostsI4[NUM_BMODES][NUM_BMODES][NUM_BMODES]; } // extern "C" #endif -#endif /* WEBP_ENC_COST_ENC_H_ */ +#endif // WEBP_ENC_COST_ENC_H_ diff --git a/src/enc/vp8i_enc.h b/src/enc/vp8i_enc.h index 624e8f8e..388b69ed 100644 --- a/src/enc/vp8i_enc.h +++ b/src/enc/vp8i_enc.h @@ -515,4 +515,4 @@ void WebPCleanupTransparentAreaLossless(WebPPicture* const pic); } // extern "C" #endif -#endif /* WEBP_ENC_VP8I_ENC_H_ */ +#endif // WEBP_ENC_VP8I_ENC_H_ diff --git a/src/enc/vp8li_enc.h b/src/enc/vp8li_enc.h index 298a4a00..d2d0fc50 100644 --- a/src/enc/vp8li_enc.h +++ b/src/enc/vp8li_enc.h @@ -115,4 +115,4 @@ void VP8LColorSpaceTransform(int width, int height, int bits, int quality, } // extern "C" #endif -#endif /* WEBP_ENC_VP8LI_ENC_H_ */ +#endif // WEBP_ENC_VP8LI_ENC_H_ diff --git a/src/mux/animi.h b/src/mux/animi.h index 88899532..34c45ba4 100644 --- a/src/mux/animi.h +++ b/src/mux/animi.h @@ -40,4 +40,4 @@ int WebPAnimEncoderRefineRect( } // extern "C" #endif -#endif /* WEBP_MUX_ANIMI_H_ */ +#endif // WEBP_MUX_ANIMI_H_ diff --git a/src/mux/muxi.h b/src/mux/muxi.h index 6ca0588c..25877f61 100644 --- a/src/mux/muxi.h +++ b/src/mux/muxi.h @@ -231,4 +231,4 @@ WebPMuxError MuxValidate(const WebPMux* const mux); } // extern "C" #endif -#endif /* WEBP_MUX_MUXI_H_ */ +#endif // WEBP_MUX_MUXI_H_ diff --git a/src/utils/bit_reader_inl_utils.h b/src/utils/bit_reader_inl_utils.h index 2ccc6ed3..7e607f37 100644 --- a/src/utils/bit_reader_inl_utils.h +++ b/src/utils/bit_reader_inl_utils.h @@ -187,4 +187,4 @@ static WEBP_INLINE int VP8GetBitAlt(VP8BitReader* const br, int prob) { } // extern "C" #endif -#endif // WEBP_UTILS_BIT_READER_INL_UTILS_H_ +#endif // WEBP_UTILS_BIT_READER_INL_UTILS_H_ diff --git a/src/utils/bit_reader_utils.h b/src/utils/bit_reader_utils.h index 317d311c..0f8db2ca 100644 --- a/src/utils/bit_reader_utils.h +++ b/src/utils/bit_reader_utils.h @@ -172,4 +172,4 @@ static WEBP_INLINE void VP8LFillBitWindow(VP8LBitReader* const br) { } // extern "C" #endif -#endif /* WEBP_UTILS_BIT_READER_UTILS_H_ */ +#endif // WEBP_UTILS_BIT_READER_UTILS_H_ diff --git a/src/utils/bit_writer_utils.h b/src/utils/bit_writer_utils.h index 2cf5976f..b9d5102a 100644 --- a/src/utils/bit_writer_utils.h +++ b/src/utils/bit_writer_utils.h @@ -151,4 +151,4 @@ static WEBP_INLINE void VP8LPutBits(VP8LBitWriter* const bw, } // extern "C" #endif -#endif /* WEBP_UTILS_BIT_WRITER_UTILS_H_ */ +#endif // WEBP_UTILS_BIT_WRITER_UTILS_H_ diff --git a/src/utils/filters_utils.h b/src/utils/filters_utils.h index 410f2fcd..61da66e2 100644 --- a/src/utils/filters_utils.h +++ b/src/utils/filters_utils.h @@ -29,4 +29,4 @@ WEBP_FILTER_TYPE WebPEstimateBestFilter(const uint8_t* data, } // extern "C" #endif -#endif /* WEBP_UTILS_FILTERS_UTILS_H_ */ +#endif // WEBP_UTILS_FILTERS_UTILS_H_ diff --git a/src/utils/quant_levels_dec_utils.h b/src/utils/quant_levels_dec_utils.h index f822107a..327f19f3 100644 --- a/src/utils/quant_levels_dec_utils.h +++ b/src/utils/quant_levels_dec_utils.h @@ -32,4 +32,4 @@ int WebPDequantizeLevels(uint8_t* const data, int width, int height, int stride, } // extern "C" #endif -#endif /* WEBP_UTILS_QUANT_LEVELS_DEC_UTILS_H_ */ +#endif // WEBP_UTILS_QUANT_LEVELS_DEC_UTILS_H_ diff --git a/src/utils/quant_levels_utils.h b/src/utils/quant_levels_utils.h index 75df2ba6..9ee3ea00 100644 --- a/src/utils/quant_levels_utils.h +++ b/src/utils/quant_levels_utils.h @@ -33,4 +33,4 @@ int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels, } // extern "C" #endif -#endif /* WEBP_UTILS_QUANT_LEVELS_UTILS_H_ */ +#endif // WEBP_UTILS_QUANT_LEVELS_UTILS_H_ diff --git a/src/utils/random_utils.h b/src/utils/random_utils.h index 6d36c667..a5006f84 100644 --- a/src/utils/random_utils.h +++ b/src/utils/random_utils.h @@ -60,4 +60,4 @@ static WEBP_INLINE int VP8RandomBits(VP8Random* const rg, int num_bits) { } // extern "C" #endif -#endif /* WEBP_UTILS_RANDOM_UTILS_H_ */ +#endif // WEBP_UTILS_RANDOM_UTILS_H_ diff --git a/src/utils/rescaler_utils.h b/src/utils/rescaler_utils.h index 8890e6fa..ca41e42c 100644 --- a/src/utils/rescaler_utils.h +++ b/src/utils/rescaler_utils.h @@ -98,4 +98,4 @@ int WebPRescalerHasPendingOutput(const WebPRescaler* const rescaler) { } // extern "C" #endif -#endif /* WEBP_UTILS_RESCALER_UTILS_H_ */ +#endif // WEBP_UTILS_RESCALER_UTILS_H_ diff --git a/src/utils/thread_utils.h b/src/utils/thread_utils.h index c8ae6c90..29ad49f7 100644 --- a/src/utils/thread_utils.h +++ b/src/utils/thread_utils.h @@ -87,4 +87,4 @@ WEBP_EXTERN const WebPWorkerInterface* WebPGetWorkerInterface(void); } // extern "C" #endif -#endif /* WEBP_UTILS_THREAD_UTILS_H_ */ +#endif // WEBP_UTILS_THREAD_UTILS_H_ diff --git a/src/utils/utils.h b/src/utils/utils.h index 52921bf2..da97b5d3 100644 --- a/src/utils/utils.h +++ b/src/utils/utils.h @@ -175,4 +175,4 @@ WEBP_EXTERN int WebPGetColorPalette(const struct WebPPicture* const pic, } // extern "C" #endif -#endif /* WEBP_UTILS_UTILS_H_ */ +#endif // WEBP_UTILS_UTILS_H_ diff --git a/src/webp/decode.h b/src/webp/decode.h index 2165e96c..95d31e76 100644 --- a/src/webp/decode.h +++ b/src/webp/decode.h @@ -491,4 +491,4 @@ WEBP_EXTERN VP8StatusCode WebPDecode(const uint8_t* data, size_t data_size, } // extern "C" #endif -#endif /* WEBP_WEBP_DECODE_H_ */ +#endif // WEBP_WEBP_DECODE_H_ diff --git a/src/webp/demux.h b/src/webp/demux.h index 555d6413..846eeb15 100644 --- a/src/webp/demux.h +++ b/src/webp/demux.h @@ -360,4 +360,4 @@ WEBP_EXTERN void WebPAnimDecoderDelete(WebPAnimDecoder* dec); } // extern "C" #endif -#endif /* WEBP_WEBP_DEMUX_H_ */ +#endif // WEBP_WEBP_DEMUX_H_ diff --git a/src/webp/encode.h b/src/webp/encode.h index 7ec3543d..549cf077 100644 --- a/src/webp/encode.h +++ b/src/webp/encode.h @@ -542,4 +542,4 @@ WEBP_EXTERN int WebPEncode(const WebPConfig* config, WebPPicture* picture); } // extern "C" #endif -#endif /* WEBP_WEBP_ENCODE_H_ */ +#endif // WEBP_WEBP_ENCODE_H_ diff --git a/src/webp/format_constants.h b/src/webp/format_constants.h index 329fc8a3..eca6981a 100644 --- a/src/webp/format_constants.h +++ b/src/webp/format_constants.h @@ -84,4 +84,4 @@ typedef enum { // overflow a uint32_t. #define MAX_CHUNK_PAYLOAD (~0U - CHUNK_HEADER_SIZE - 1) -#endif /* WEBP_WEBP_FORMAT_CONSTANTS_H_ */ +#endif // WEBP_WEBP_FORMAT_CONSTANTS_H_ diff --git a/src/webp/mux.h b/src/webp/mux.h index 28bb4a41..66096a92 100644 --- a/src/webp/mux.h +++ b/src/webp/mux.h @@ -527,4 +527,4 @@ WEBP_EXTERN void WebPAnimEncoderDelete(WebPAnimEncoder* enc); } // extern "C" #endif -#endif /* WEBP_WEBP_MUX_H_ */ +#endif // WEBP_WEBP_MUX_H_ diff --git a/src/webp/mux_types.h b/src/webp/mux_types.h index b37e2c67..ceea77df 100644 --- a/src/webp/mux_types.h +++ b/src/webp/mux_types.h @@ -95,4 +95,4 @@ static WEBP_INLINE int WebPDataCopy(const WebPData* src, WebPData* dst) { } // extern "C" #endif -#endif /* WEBP_WEBP_MUX_TYPES_H_ */ +#endif // WEBP_WEBP_MUX_TYPES_H_ diff --git a/src/webp/types.h b/src/webp/types.h index 989a763f..0ce2622e 100644 --- a/src/webp/types.h +++ b/src/webp/types.h @@ -49,4 +49,4 @@ typedef long long int int64_t; // Macro to check ABI compatibility (same major revision number) #define WEBP_ABI_IS_INCOMPATIBLE(a, b) (((a) >> 8) != ((b) >> 8)) -#endif /* WEBP_WEBP_TYPES_H_ */ +#endif // WEBP_WEBP_TYPES_H_