* config/tc-vax.c (md_chars_to_number): Used only locally, so
authorJan-Benedict Glaw <jbglaw@lug-owl.de>
Sat, 18 Mar 2006 11:06:47 +0000 (11:06 +0000)
committerJan-Benedict Glaw <jbglaw@lug-owl.de>
Sat, 18 Mar 2006 11:06:47 +0000 (11:06 +0000)
make it static.
* config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.

gas/ChangeLog
gas/config/tc-vax.c
gas/config/tc-vax.h

index 42816c4..4ec8348 100644 (file)
@@ -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.
index 4112b09..61bee7d 100644 (file)
@@ -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;
index 10294c9..852e80c 100644 (file)
@@ -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