diff options
author | twinaphex | 2016-08-06 04:29:02 +0200 |
---|---|---|
committer | twinaphex | 2016-08-06 04:29:02 +0200 |
commit | 7009e4011bfbb239d59039262aeac9c1bff33a7f (patch) | |
tree | 492a1a7359d86a4fee5bd1ace37de12c23f33ea3 /src/memmap.c | |
parent | 70d12639317897cfb59406e53b4aaac0ee4b1c9c (diff) | |
download | snes9x2002-7009e4011bfbb239d59039262aeac9c1bff33a7f.tar.gz snes9x2002-7009e4011bfbb239d59039262aeac9c1bff33a7f.tar.bz2 snes9x2002-7009e4011bfbb239d59039262aeac9c1bff33a7f.zip |
Turn functions static
Diffstat (limited to 'src/memmap.c')
-rw-r--r-- | src/memmap.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/memmap.c b/src/memmap.c index 827d897..e65f6fe 100644 --- a/src/memmap.c +++ b/src/memmap.c @@ -63,18 +63,18 @@ static uint8 bytes0x2000 [0x2000]; extern bool8 ROMAPUEnabled;
-bool8_32 AllASCII (uint8 *b, int size)
+static bool8_32 AllASCII (uint8 *b, int size)
{
int i;
- for (i = 0; i < size; i++)
- {
- if (b[i] < 32 || b[i] > 126)
- return (FALSE);
- }
- return (TRUE);
+ for (i = 0; i < size; i++)
+ {
+ if (b[i] < 32 || b[i] > 126)
+ return (FALSE);
+ }
+ return (TRUE);
}
-int ScoreHiROM (bool8_32 skip_header)
+static int ScoreHiROM (bool8_32 skip_header)
{
int score = 0;
int o = skip_header ? 0xff00 + 0x200 : 0xff00;
@@ -101,7 +101,7 @@ int ScoreHiROM (bool8_32 skip_header) return (score);
}
-int ScoreLoROM (bool8_32 skip_header)
+static int ScoreLoROM (bool8_32 skip_header)
{
int score = 0;
int o = skip_header ? 0x7f00 + 0x200 : 0x7f00;
@@ -128,7 +128,7 @@ int ScoreLoROM (bool8_32 skip_header) return (score);
}
-char *Safe (const char *s)
+static char *Safe (const char *s)
{
static char *safe = NULL;
static int safe_len = 0;
|