This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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;
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]