From a49fcc17bf2156844b170da8f671bc225efcf45a Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Sat, 18 Mar 2006 11:06:47 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 6 ++++++ gas/config/tc-vax.c | 2 +- gas/config/tc-vax.h | 2 -- 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 + + * 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 * 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 -- 2.7.4