]> granicus.if.org Git - libvpx/blobdiff - warnings.h
vp8: Remove duplicated code in datarate tests.
[libvpx] / warnings.h
index ac3a4b63e6dedce874218f6e77fa11c40ca19376..15558c64374fb2481f1b683bc11a093620364650 100644 (file)
@@ -7,8 +7,12 @@
  *  in the file PATENTS.  All contributing project authors may
  *  be found in the AUTHORS file in the root of the source tree.
  */
-#ifndef WARNINGS_H_
-#define WARNINGS_H_
+#ifndef VPX_WARNINGS_H_
+#define VPX_WARNINGS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 struct vpx_codec_enc_cfg;
 struct VpxEncoderConfig;
@@ -22,4 +26,8 @@ void check_encoder_config(int disable_prompt,
                           const struct VpxEncoderConfig *global_config,
                           const struct vpx_codec_enc_cfg *stream_config);
 
-#endif  // WARNINGS_H_
+#ifdef __cplusplus
+}  // extern "C"
+#endif
+
+#endif  // VPX_WARNINGS_H_