vpx_ports: add extern "C" to headers

Change-Id: Iba9b198ce78b3f8b644feba064f83abc247e75dd
This commit is contained in:
James Zern 2014-01-18 12:16:11 -08:00
parent ec7f2133d0
commit a5d23f547a
2 changed files with 17 additions and 1 deletions

View File

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

View File

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