aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-03 11:24:45 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-03 11:24:45 +0000
commit863c3f968c5f0257b4fb9e29d52f9765905405cd (patch)
tree3d0699b917908ac38ab5815d239d22563dec9f5c /gcc/cp/method.c
parent43948df8dcecf34eadc74ac7e60cffb6840421c2 (diff)
* class.c, decl2.c, method.c, pt.c: Add 'static' to make SunOS 4
cc happy. * decl2.c (import_export_class): Also return if CLASSTYPE_INTERFACE_ONLY is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 85463321899..f5958f264f9 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -326,7 +326,7 @@ flush_repeats (nrepeats, type)
/* Returns nonzero iff this is a type to which we will want to make
back-references (using the `B' code). */
-int
+static int
is_back_referenceable_type (type)
tree type;
{
@@ -1040,7 +1040,7 @@ build_qualified_name (decl)
non-zero, mangled names for structure/union types are intentionally
mangled differently from the method described in the ARM. */
-void
+static void
build_mangled_name_for_type_with_Gcode (type, extra_Gcode)
tree type;
int extra_Gcode;
@@ -1055,7 +1055,7 @@ build_mangled_name_for_type_with_Gcode (type, extra_Gcode)
/* Like build_mangled_name_for_type_with_Gcode, but never outputs the
`G'. */
-void
+static void
build_mangled_name_for_type (type)
tree type;
{
@@ -1203,7 +1203,7 @@ build_mangled_name (parmtypes, begin, end)
/* Emit modifiers such as constant, read-only, and volatile. */
-void
+static void
process_modifiers (parmtype)
tree parmtype;
{
@@ -1231,7 +1231,7 @@ process_modifiers (parmtype)
so, return 1 and emit a backreference to TYPE. Otherwise, add TYPE
to the list of back-referenceable types and return 0. */
-int
+static int
check_btype (type)
tree type;
{