harmonize the include guards and #endif comments

This commit is contained in:
Pascal Massimino 2011-09-07 05:31:28 +00:00 committed by James Zern
parent a1ec07a618
commit ee697d9fc9
5 changed files with 9 additions and 9 deletions

View File

@ -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_ */

View File

@ -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_ */

View File

@ -171,4 +171,4 @@ void WebPInitUpsamplers(void);
} // extern "C" } // extern "C"
#endif #endif
#endif // WEBP_DSP_DSP_H_ #endif /* WEBP_DSP_DSP_H_ */

View File

@ -106,4 +106,4 @@ void VP8YUVInit(void);
} // extern "C" } // extern "C"
#endif #endif
#endif // WEBP_DSP_YUV_H_ #endif /* WEBP_DSP_YUV_H_ */

View File

@ -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_ */