mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 21:58:22 +01:00
harmonize the include guards and #endif comments
This commit is contained in:
parent
a1ec07a618
commit
ee697d9fc9
@ -30,7 +30,7 @@ static inline double StopwatchReadAndReset(Stopwatch* watch) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#else // !_WIN32
|
#else /* !_WIN32 */
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
typedef struct timeval Stopwatch;
|
typedef struct timeval Stopwatch;
|
||||||
@ -42,6 +42,6 @@ static inline double StopwatchReadAndReset(Stopwatch* watch) {
|
|||||||
(watch->tv_usec - old_value.tv_usec) / 1000000.0;
|
(watch->tv_usec - old_value.tv_usec) / 1000000.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !_WIN32
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
#endif // WEBP_EXAMPLES_STOPWATCH_H_
|
#endif /* WEBP_EXAMPLES_STOPWATCH_H_ */
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
//
|
//
|
||||||
// Author: somnath@google.com (Somnath Banerjee)
|
// Author: somnath@google.com (Somnath Banerjee)
|
||||||
|
|
||||||
#ifndef WEBP_DEC_WEBPI_H
|
#ifndef WEBP_DEC_WEBPI_H_
|
||||||
#define WEBP_DEC_WEBPI_H
|
#define WEBP_DEC_WEBPI_H_
|
||||||
|
|
||||||
#if defined(__cplusplus) || defined(c_plusplus)
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -101,4 +101,4 @@ void WebPGrabDecBuffer(WebPDecBuffer* const src, WebPDecBuffer* const dst);
|
|||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // WEBP_DEC_WEBPI_H
|
#endif /* WEBP_DEC_WEBPI_H_ */
|
||||||
|
@ -171,4 +171,4 @@ void WebPInitUpsamplers(void);
|
|||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // WEBP_DSP_DSP_H_
|
#endif /* WEBP_DSP_DSP_H_ */
|
||||||
|
@ -106,4 +106,4 @@ void VP8YUVInit(void);
|
|||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // WEBP_DSP_YUV_H_
|
#endif /* WEBP_DSP_YUV_H_ */
|
||||||
|
@ -51,4 +51,4 @@ extern const uint16_t VP8FixedCostsI4[NUM_BMODES][NUM_BMODES][NUM_BMODES];
|
|||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // WEBP_ENC_COST_H_
|
#endif /* WEBP_ENC_COST_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user