summaryrefslogtreecommitdiff
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
parentbfdaf66cf944c2b2225a6a69c0e7a166627fce5d (diff)
downloadbinutils-gdb-a49fcc17bf2156844b170da8f671bc225efcf45a.tar.gz
* 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.
-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 42816c4830b..4ec83480e42 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 4112b095418..61bee7d9839 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 10294c99a45..852e80c7389 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