public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] gas/config/tc-h8300.c: make things more static
@ 2000-06-27 11:42 Kazu Hirata
  0 siblings, 0 replies; 2+ messages in thread
From: Kazu Hirata @ 2000-06-27 11:42 UTC (permalink / raw)
  To: binutils

Hi,

Attached is a patch to put "static" appropriately.

Thanks,

Kazu

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

	* h8300/tc-h8300.c (Hmode): Make the variable static.
	(Smode): Likewise.
	(h8300hmode): Make the function static.
	(h8300smode): Likewise.

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

===File ~/gnu/binutils/tc-h8300.patch=======================
Index: gas/config/tc-h8300.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8300.c,v
retrieving revision 1.7
diff -u -r1.7 tc-h8300.c
--- tc-h8300.c	2000/06/25 16:49:47	1.7
+++ tc-h8300.c	2000/06/27 16:54:56
@@ -46,21 +46,21 @@
 
 void cons ();
 
-int Hmode;
-int Smode;
+static int Hmode;
+static int Smode;
 #define PSIZE (Hmode ? L_32 : L_16)
 #define DMODE (L_16)
 #define DSYMMODE (Hmode ? L_24 : L_16)
 int bsize = L_8;		/* default branch displacement */
 
-void
+static void
 h8300hmode ()
 {
   Hmode = 1;
   Smode = 0;
 }
 
-void
+static void
 h8300smode ()
 {
   Smode = 1;
@@ -730,7 +730,7 @@
 		}
 	      else if ((op & (KBIT | DBIT)) && (x & IMM))
 		{
-		  /* This is ok if the immediate value is sensible.  */
+		  /* This is OK if the immediate value is sensible.  */
 		}
 	      else if (op & PCREL)
 		{
============================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [patch] gas/config/tc-h8300.c: make things more static
@ 2000-06-27 20:16 Kazu Hirata
  0 siblings, 0 replies; 2+ messages in thread
From: Kazu Hirata @ 2000-06-27 20:16 UTC (permalink / raw)
  To: binutils

Hi,

Let me cancel this patch. I'll resubmit the corrected version. I made too
many things static. :-(

http://sourceware.cygnus.com/ml/binutils/2000-06/msg00553.html

p.s.
For some reason, cvs diff -u is not working for me...

Kazu Hirata

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-27 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-27 11:42 [patch] gas/config/tc-h8300.c: make things more static Kazu Hirata
2000-06-27 20:16 Kazu Hirata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).