From 863c3f968c5f0257b4fb9e29d52f9765905405cd Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 3 Mar 1999 11:24:45 +0000 Subject: * 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 --- gcc/cp/method.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/cp/method.c') 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; { -- cgit v1.2.3