[PATCH] tc-vax.c: make prototype of flonum_gen2vax match its definition

tbsaunde+binutils@tbsaunde.org tbsaunde+binutils@tbsaunde.org
Sun May 15 01:39:00 GMT 2016


From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>

Hi,

It would be nice to only prototype it once, but I'm not sure what the appropriate header would be.

built and regtested a cross to vax-linux, ok?

Trev

gas/ChangeLog:

2016-05-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
	definition.
---
 gas/config/tc-vax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/config/tc-vax.c b/gas/config/tc-vax.c
index 33ef6e3..b85b5bb 100644
--- a/gas/config/tc-vax.c
+++ b/gas/config/tc-vax.c
@@ -236,7 +236,7 @@ const relax_typeS md_relax_table[] =
 #undef WB
 
 void float_cons (int);
-int flonum_gen2vax (char, FLONUM_TYPE *, LITTLENUM_TYPE *);
+int flonum_gen2vax (int, FLONUM_TYPE *, LITTLENUM_TYPE *);
 
 const pseudo_typeS md_pseudo_table[] =
 {
-- 
2.7.0



More information about the Binutils mailing list