diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-03-03 00:15:09 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-03-03 00:15:09 +0000 |
| commit | f9a250d60e621b63cc77d432f42ae700ff3e249b (patch) | |
| tree | 44cdcb369bb0e6b1b5b6c0055c9c60d7f06e9bfa /plugins | |
| parent | 585bb1ecb49bda5c3ec1112df67474922c2cc04e (diff) | |
| download | pcsxr-f9a250d60e621b63cc77d432f42ae700ff3e249b.tar.gz | |
Make OS X's localization implementation functions match the signature of gettext.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83305 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/dfcdrom/cdr.h | 4 | ||||
| -rwxr-xr-x | plugins/dfinput/pad.h | 4 | ||||
| -rwxr-xr-x | plugins/dfnet/dfnet.h | 4 | ||||
| -rwxr-xr-x | plugins/dfxvideo/gpu.c | 2 | ||||
| -rwxr-xr-x | plugins/peopsxgl/gpu.c | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/plugins/dfcdrom/cdr.h b/plugins/dfcdrom/cdr.h index a9487f5d..fad9799d 100755 --- a/plugins/dfcdrom/cdr.h +++ b/plugins/dfcdrom/cdr.h @@ -36,7 +36,7 @@ extern "C" { #endif #ifdef PCSXRCORE -extern const char* Pcsxr_locale_text(char* toloc); +extern char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -49,7 +49,7 @@ extern const 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 const char* PLUGLOC(char* toloc); +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 5e66f9ae..3249f6b3 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 const char* Pcsxr_locale_text(char* toloc); +extern char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -74,7 +74,7 @@ extern const 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 const char* PLUGLOC(char* toloc); +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 34f15748..aa8007c3 100755 --- a/plugins/dfnet/dfnet.h +++ b/plugins/dfnet/dfnet.h @@ -28,7 +28,7 @@ extern "C" { #endif #ifdef PCSXRCORE -extern const char* Pcsxr_locale_text(char* toloc); +extern char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -41,7 +41,7 @@ extern const 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 const char* PLUGLOC(char* toloc); +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 72160435..da0bdf29 100755 --- a/plugins/dfxvideo/gpu.c +++ b/plugins/dfxvideo/gpu.c @@ -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 const char* PLUGLOC(char* toloc); +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 f0066e7a..84d54bcb 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 const char* Pcsxr_locale_text(char* toloc); +extern char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -72,7 +72,7 @@ extern const 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 const char* PLUGLOC(char* toloc); +extern char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif |
