diff --git a/plugins/GSdx/GSUtil.cpp b/plugins/GSdx/GSUtil.cpp index 791aa56f5f..f29b22812a 100644 --- a/plugins/GSdx/GSUtil.cpp +++ b/plugins/GSdx/GSUtil.cpp @@ -52,8 +52,6 @@ const char* GSUtil::GetLibName() list sl; - // TODO: linux (gcc) - #ifdef __INTEL_COMPILER sl.push_back(format("Intel C++ %d.%02d", __INTEL_COMPILER / 100, __INTEL_COMPILER % 100)); #elif _MSC_VER diff --git a/plugins/onepad/onepad.cpp b/plugins/onepad/onepad.cpp index 3a1c33ea50..db51321f21 100644 --- a/plugins/onepad/onepad.cpp +++ b/plugins/onepad/onepad.cpp @@ -36,7 +36,7 @@ #endif PADconf* conf; -char libraryName[256]; +static char libraryName[256]; keyEvent event; diff --git a/plugins/onepad/onepad.h b/plugins/onepad/onepad.h index 4013763c0d..8165dea04c 100644 --- a/plugins/onepad/onepad.h +++ b/plugins/onepad/onepad.h @@ -60,8 +60,6 @@ using namespace std; #define EXPORT_C_(type) extern "C" __attribute__((externally_visible,visibility("default"))) type #endif -extern char libraryName[256]; - enum PadOptions { PADOPTION_FORCEFEEDBACK = 0x1, diff --git a/plugins/spu2-x/src/PS2E-spu2.h b/plugins/spu2-x/src/PS2E-spu2.h index bfd3b2e879..7c008ab2ee 100644 --- a/plugins/spu2-x/src/PS2E-spu2.h +++ b/plugins/spu2-x/src/PS2E-spu2.h @@ -28,7 +28,7 @@ #ifdef _MSC_VER #define EXPORT_C_(type) extern "C" __declspec(dllexport) type CALLBACK #else -#define EXPORT_C_(type) extern "C" __attribute__((externally_visible,visibility("default"))) type +#define EXPORT_C_(type) extern "C" __attribute__((stdcall,externally_visible,visibility("default"))) type #endif // We have our own versions that have the DLLExport attribute configured: