diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-26 07:03:25 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-26 07:03:25 +0000 |
| commit | ef6112349b45768da9e607cc3915b0c43048f3ce (patch) | |
| tree | 91bb122af23f19a1e3528fdeb6619e3be6a56dd4 /plugins/dfcdrom | |
| parent | f3af5576f8f564541fe9dc26d5df1c35bafa09d1 (diff) | |
| download | pcsxr-ef6112349b45768da9e607cc3915b0c43048f3ce.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38251 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfcdrom')
| -rw-r--r-- | plugins/dfcdrom/cdr-linux.c | 10 | ||||
| -rw-r--r-- | plugins/dfcdrom/cdr-null.c | 15 | ||||
| -rw-r--r-- | plugins/dfcdrom/cdr.c | 10 |
3 files changed, 10 insertions, 25 deletions
diff --git a/plugins/dfcdrom/cdr-linux.c b/plugins/dfcdrom/cdr-linux.c index 28fff7d0..e45217ca 100644 --- a/plugins/dfcdrom/cdr-linux.c +++ b/plugins/dfcdrom/cdr-linux.c @@ -19,16 +19,6 @@ #include "cdr.h" -#ifdef ENABLE_NLS -#include <libintl.h> -#include <locale.h> -#define _(x) gettext(x) -#define N_(x) (x) -#else -#define _(x) (x) -#define N_(x) (x) -#endif - static inline int msf_to_lba(char m, char s, char f) { return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET; } diff --git a/plugins/dfcdrom/cdr-null.c b/plugins/dfcdrom/cdr-null.c index 4712b2e3..7fcc0c0c 100644 --- a/plugins/dfcdrom/cdr-null.c +++ b/plugins/dfcdrom/cdr-null.c @@ -6,22 +6,7 @@ */ #include "config.h" - -#include <stdio.h> -#include <stdlib.h> #include <stdint.h> -#include <time.h> -#include <string.h> - -#ifdef ENABLE_NLS -#include <libintl.h> -#include <locale.h> -#define _(x) gettext(x) -#define N_(x) (x) -#else -#define _(x) (x) -#define N_(x) (x) -#endif char *LibName = N_("CDR NULL Plugin"); diff --git a/plugins/dfcdrom/cdr.c b/plugins/dfcdrom/cdr.c index 7458c833..61a5fe71 100644 --- a/plugins/dfcdrom/cdr.c +++ b/plugins/dfcdrom/cdr.c @@ -5,6 +5,16 @@ * */ +#ifdef ENABLE_NLS +#include <libintl.h> +#include <locale.h> +#define _(x) gettext(x) +#define N_(x) (x) +#else +#define _(x) (x) +#define N_(x) (x) +#endif + #if defined (__linux__) #include "cdr-linux.c" #else |
