summaryrefslogtreecommitdiff
path: root/libpcsxcore/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/misc.h')
-rw-r--r--libpcsxcore/misc.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libpcsxcore/misc.h b/libpcsxcore/misc.h
index 73da9457..f589ec6c 100644
--- a/libpcsxcore/misc.h
+++ b/libpcsxcore/misc.h
@@ -20,6 +20,10 @@
#ifndef __MISC_H__
#define __MISC_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "psxcommon.h"
#include "coff.h"
#include "plugins.h"
@@ -52,8 +56,6 @@ typedef struct {
extern char CdromId[10];
extern char CdromLabel[33];
-extern FILE *emuLog;
-
int LoadCdrom();
int LoadCdromFile(char *filename, EXE_HEADER *head);
int CheckCdrom();
@@ -68,4 +70,7 @@ int RecvPcsxInfo();
void trim(char *str);
+#ifdef __cplusplus
+}
+#endif
#endif