* 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 42816c4830b5620336f38dd66c5ed3138a0ce02f..4ec83480e42e0e7ff7bd70cff4c8995098f634fc 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 4112b09541861d9fc19cbc2beb713ff9634251f0..61bee7d98396b7ca9dcf91fe68a3fd6c8aaddb73 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 10294c99a45b3c5639a322c1ba865a740b04b37a..852e80c73893697969540c59289ef3a84dafdf51 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