Commit a5d23f54 authored by James Zern's avatar James Zern

vpx_ports: add extern "C" to headers

Change-Id: Iba9b198ce78b3f8b644feba064f83abc247e75dd
parent ec7f2133
......@@ -14,6 +14,10 @@
#include <stdlib.h>
#include "vpx_config.h"
#ifdef __cplusplus
extern "C" {
#endif
/*ARMv5TE "Enhanced DSP" instructions.*/
#define HAS_EDSP 0x01
/*ARMv6 "Parallel" or "Media" instructions.*/
......@@ -23,5 +27,9 @@
int arm_cpu_caps(void);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VPX_PORTS_ARM_H_
......@@ -14,6 +14,10 @@
#include <stdlib.h>
#include "vpx_config.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
VPX_CPU_UNKNOWN = -1,
VPX_CPU_AMD,
......@@ -256,5 +260,9 @@ x87_set_double_precision(void) {
extern void vpx_reset_mmx_state(void);
#endif // VPX_PORTS_X86_H_
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VPX_PORTS_X86_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment