aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-02-03 01:24:11 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-02-03 01:24:11 +0000
commit0869f1266097c2d99d921b3dcb318fa32a76a8ef (patch)
tree9df4aec3b21740fb3dfd88bbf38ca9550133e44a /gcc
parent90e65b7084d00d88e68c73d57fa144a7be68f96a (diff)
downloadgcc-0869f1266097c2d99d921b3dcb318fa32a76a8ef.zip
gcc-0869f1266097c2d99d921b3dcb318fa32a76a8ef.tar.gz
gcc-0869f1266097c2d99d921b3dcb318fa32a76a8ef.tar.bz2
h8300.c (os_task): Make it static.
* config/h8300/h8300.c (os_task): Make it static. (monitor): Likewise. (pragma_saveall): Likewise. From-SVN: r49452
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/h8300/h8300.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0057ca7..d2cbe55 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-02 Kazu Hirata <kazu@hxi.com>
+
+ * config/h8300/h8300.c (os_task): Make it static.
+ (monitor): Likewise.
+ (pragma_saveall): Likewise.
+
2002-02-02 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 13fc17e..c875f45 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -68,18 +68,18 @@ int cpu_type;
/* True if the current function is an interrupt handler
(either via #pragma or an attribute specification). */
-int interrupt_handler;
+static int interrupt_handler;
/* True if the current function is an OS Task
(via an attribute specification). */
-int os_task;
+static int os_task;
/* True if the current function is a monitor
(via an attribute specification). */
-int monitor;
+static int monitor;
/* True if a #pragma saveall has been seen for the current function. */
-int pragma_saveall;
+static int pragma_saveall;
static const char *const names_big[] =
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7" };