From: Kazu Hirata <kazu@hxi.com>
To: binutils@sourceware.cygnus.com
Subject: [patch] gas/config/tc-h8300.c: make things more static
Date: Tue, 27 Jun 2000 11:42:00 -0000 [thread overview]
Message-ID: <29268.962131379.0@NO-ID-FOUND.mhonarc.org> (raw)
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)
{
============================================================
next reply other threads:[~2000-06-27 11:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-27 11:42 Kazu Hirata [this message]
2000-06-27 20:16 Kazu Hirata
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29268.962131379.0@NO-ID-FOUND.mhonarc.org \
--to=kazu@hxi.com \
--cc=binutils@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).