From 321d586565831ecd126843a98e80282f52efc77b Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 26 Aug 2013 18:22:36 +0000 Subject: Use __private_extern__ on OS X's localization functions. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86932 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/bladesio1/sio1.h | 4 ++-- plugins/dfcdrom/cdr.h | 4 ++-- plugins/dfinput/pad.h | 4 ++-- plugins/dfnet/dfnet.h | 4 ++-- plugins/dfsound/spu.c | 4 ++-- plugins/dfxvideo/gpu.c | 4 ++-- plugins/peopsxgl/gpu.c | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) (limited to 'plugins') diff --git a/plugins/bladesio1/sio1.h b/plugins/bladesio1/sio1.h index 6777345d..80f2a6cb 100755 --- a/plugins/bladesio1/sio1.h +++ b/plugins/bladesio1/sio1.h @@ -32,7 +32,7 @@ extern "C" { #endif #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -45,7 +45,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif diff --git a/plugins/dfcdrom/cdr.h b/plugins/dfcdrom/cdr.h index fad9799d..1f3bfd02 100755 --- a/plugins/dfcdrom/cdr.h +++ b/plugins/dfcdrom/cdr.h @@ -36,7 +36,7 @@ extern "C" { #endif #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -49,7 +49,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h index f055d9a0..f362a876 100755 --- a/plugins/dfinput/pad.h +++ b/plugins/dfinput/pad.h @@ -61,7 +61,7 @@ typedef void *Display; //If running under Mac OS X, use the Localizable.strings file instead. #elif defined(_MACOSX) #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -74,7 +74,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif diff --git a/plugins/dfnet/dfnet.h b/plugins/dfnet/dfnet.h index 8f6094f8..73be55a0 100755 --- a/plugins/dfnet/dfnet.h +++ b/plugins/dfnet/dfnet.h @@ -28,7 +28,7 @@ extern "C" { #endif #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -41,7 +41,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 57b64617..222bd22e 100755 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -39,7 +39,7 @@ //If running under Mac OS X, use the Localizable.strings file instead. #elif defined(_MACOSX) #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -52,7 +52,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif diff --git a/plugins/dfxvideo/gpu.c b/plugins/dfxvideo/gpu.c index da0bdf29..25dde9e1 100755 --- a/plugins/dfxvideo/gpu.c +++ b/plugins/dfxvideo/gpu.c @@ -42,7 +42,7 @@ //If running under Mac OS X, use the Localizable.strings file instead. #elif defined(_MACOSX) #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -55,7 +55,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif diff --git a/plugins/peopsxgl/gpu.c b/plugins/peopsxgl/gpu.c index fe5ed09f..e5c72340 100755 --- a/plugins/peopsxgl/gpu.c +++ b/plugins/peopsxgl/gpu.c @@ -59,7 +59,7 @@ static int iOldMode=0; #define N_(x) (x) #elif defined(_MACOSX) #ifdef PCSXRCORE -extern char* Pcsxr_locale_text(char* toloc); +__private_extern__ char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -72,7 +72,7 @@ extern char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern char* PLUGLOC(char* toloc); +__private_extern__ char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif -- cgit v1.2.3