[patch] gas/config/tc-h8300.c

Kazu Hirata kazu@hxi.com
Thu Jun 15 09:11:00 GMT 2000


Hi,

Attached is a patch for gas/config/tc-h8300.c. It makes two functions
static, which are not used anywhere else.

Thanks,

Kazu Hirata

===File ~/gnu/binutils/ChangeLog-tc-h8300===================
2000-06-15  Kazu Hirata  <kazu@hxi.com>

	* config/tc-h8300.c (parse_reg): Make the function static.
	(parse_exp): Likewise.

============================================================

===File ~/gnu/binutils/tc-h8300.patch=======================
Index: tc-h8300.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8300.c,v
retrieving revision 1.4
diff -u -r1.4 tc-h8300.c
--- tc-h8300.c	2000/06/09 00:00:02	1.4
+++ tc-h8300.c	2000/06/15 16:03:17
@@ -200,8 +200,8 @@
   ccr
 */
 
-/* try and parse a reg name, returns number of chars consumed */
-int
+/* Try and parse a reg name, returns number of chars consumed.  */
+static int
 parse_reg (src, mode, reg, direction)
      char *src;
      op_type *mode;
@@ -290,7 +290,7 @@
   return 0;
 }
 
-char *
+static char *
 parse_exp (s, op)
      char *s;
      expressionS * op;
============================================================



More information about the Binutils mailing list