summaryrefslogtreecommitdiff
path: root/gas/config/tc-z8k.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2001-09-19 05:33:36 +0000
committerH.J. Lu <hjl@lucon.org>2001-09-19 05:33:36 +0000
commit75e56203c5a58ad68a2015e0c7da2590093a3ec0 (patch)
treee91126f6df5579aaae921d5b82dc556b8c174966 /gas/config/tc-z8k.c
parent196eb9fb0228e90f1f5c43a65372657f443580da (diff)
downloadbinutils-redhat-75e56203c5a58ad68a2015e0c7da2590093a3ec0.tar.gz
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'gas/config/tc-z8k.c')
-rw-r--r--gas/config/tc-z8k.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c
index d8bbb8b17f..924ce9c119 100644
--- a/gas/config/tc-z8k.c
+++ b/gas/config/tc-z8k.c
@@ -1,5 +1,5 @@
/* tc-z8k.c -- Assemble code for the Zilog Z800n
- Copyright 1992, 1993, 1994, 1995, 1996, 1998, 2000
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -28,7 +28,7 @@
#include "as.h"
#include "bfd.h"
-#include <ctype.h>
+#include "safe-ctype.h"
const char comment_chars[] = "!";
const char line_comment_chars[] = "#";
@@ -70,9 +70,9 @@ int
tohex (c)
int c;
{
- if (isdigit (c))
+ if (ISDIGIT (c))
return c - '0';
- if (islower (c))
+ if (ISLOWER (c))
return c - 'a' + 10;
return c - 'A' + 10;
}
@@ -221,7 +221,7 @@ whatreg (reg, src)
int *reg;
char *src;
{
- if (isdigit (src[1]))
+ if (ISDIGIT (src[1]))
{
*reg = (src[0] - '0') * 10 + src[1] - '0';
return src + 2;