aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2006-03-18 11:06:47 +0000
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2006-03-18 11:06:47 +0000
commita49fcc17bf2156844b170da8f671bc225efcf45a (patch)
treeffd6026a9aaace9f471c1e463579d21bf8410bc6 /gas
parentbfdaf66cf944c2b2225a6a69c0e7a166627fce5d (diff)
downloadgdb-a49fcc17bf2156844b170da8f671bc225efcf45a.zip
gdb-a49fcc17bf2156844b170da8f671bc225efcf45a.tar.gz
gdb-a49fcc17bf2156844b170da8f671bc225efcf45a.tar.bz2
* config/tc-vax.c (md_chars_to_number): Used only locally, so
make it static. * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-vax.c2
-rw-r--r--gas/config/tc-vax.h2
3 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 42816c4..4ec8348 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * config/tc-vax.c (md_chars_to_number): Used only locally, so
+ make it static.
+ * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
+
2006-03-17 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (insns): Add ldm and stm.
diff --git a/gas/config/tc-vax.c b/gas/config/tc-vax.c
index 4112b09..61bee7d 100644
--- a/gas/config/tc-vax.c
+++ b/gas/config/tc-vax.c
@@ -295,7 +295,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
into host byte order.
con is the buffer to convert,
nbytes is the length of the given buffer. */
-long
+static long
md_chars_to_number (unsigned char con[], int nbytes)
{
long retval;
diff --git a/gas/config/tc-vax.h b/gas/config/tc-vax.h
index 10294c9..852e80c 100644
--- a/gas/config/tc-vax.h
+++ b/gas/config/tc-vax.h
@@ -47,8 +47,6 @@
#define md_operand(x)
-long md_chars_to_number PARAMS ((unsigned char *, int));
-
extern const struct relax_type md_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_relax_table