summaryrefslogtreecommitdiff
path: root/libpcsxcore/r3000a.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-08 01:16:38 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-08 01:16:38 +0000
commit4d39defcb59600513ff65a688c54f3d6b13ca63a (patch)
treec1b89b128f8c7f53a277a8cac28979d02357d083 /libpcsxcore/r3000a.h
parentaaaf3199b1afd1e5f88f23ce40305a5df5455599 (diff)
more cleanups.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47580 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/r3000a.h')
-rw-r--r--libpcsxcore/r3000a.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libpcsxcore/r3000a.h b/libpcsxcore/r3000a.h
index 5e9849aa..3ae1179c 100644
--- a/libpcsxcore/r3000a.h
+++ b/libpcsxcore/r3000a.h
@@ -20,6 +20,10 @@
#ifndef __R3000A_H__
#define __R3000A_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "psxcommon.h"
#include "psxmem.h"
#include "psxcounters.h"
@@ -34,7 +38,7 @@ typedef struct {
void (*Shutdown)();
} R3000Acpu;
-R3000Acpu *psxCpu;
+extern R3000Acpu *psxCpu;
extern R3000Acpu psxInt;
#if (defined(__x86_64__) || defined(__i386__) || defined(__sh__) || defined(__ppc__)) && !defined(NOPSXREC)
extern R3000Acpu psxRec;
@@ -237,4 +241,7 @@ void psxTestSWInts();
void psxTestHWInts();
void psxJumpTest();
-#endif /* __R3000A_H__ */
+#ifdef __cplusplus
+}
+#endif
+#endif