7da5ddc215
with SunPro.
39 lines
1.6 KiB
Text
39 lines
1.6 KiB
Text
$NetBSD: patch-bc,v 1.1 2006/01/18 23:24:12 rillig Exp $
|
|
|
|
SunPro cannot handle extern inline functions.
|
|
|
|
--- src/common-analyze.h.orig 2003-09-10 20:52:03.000000000 +0200
|
|
+++ src/common-analyze.h 2006-01-16 14:40:59.088069200 +0100
|
|
@@ -73,7 +73,7 @@ extern struct operator operators[];
|
|
|
|
#define exists_op_kind(k) (find_op_kind(k) != NULL)
|
|
|
|
-inline operator find_op_name(const char *name);
|
|
+operator find_op_name(const char *name);
|
|
void reset_operators(void);
|
|
bool match_signature(enum sig_kind k, qtype qt, location loc);
|
|
bool add_op_signature(operator op, qtype qt, location loc);
|
|
@@ -95,8 +95,8 @@ qtype do_dereference(location loc, qtype
|
|
einfo put_id_in_context(location, einfo, context);
|
|
void init_string(location, qtype lhs_qtype, qtype rhs_qtype, const char *error_message);
|
|
|
|
-inline void mk_effect_leq_global_env(effect e);
|
|
-inline void mk_effect_leq_global_effect(effect e);
|
|
+void mk_effect_leq_global_env(effect e);
|
|
+void mk_effect_leq_global_effect(effect e);
|
|
|
|
extern void qtype_mklhs_nonconst(location, qtype);
|
|
extern void mkNonConst_qual(location, qual, const char *error_message);
|
|
@@ -104,9 +104,9 @@ extern void mkNonConst_pointer(location,
|
|
extern void mkNonConst_aggregate(location, qtype, const char *error_message);
|
|
extern void mkConst_pointer(location, qtype, const char *error_message);
|
|
|
|
-inline einfo mkeinfo(qtype qt, effect eff, bool ismalloc);
|
|
-inline sinfo mksinfo(effect eff);
|
|
-inline dinfo mkdinfo(effect eff, effect alocs);
|
|
+einfo mkeinfo(qtype qt, effect eff, bool ismalloc);
|
|
+sinfo mksinfo(effect eff);
|
|
+dinfo mkdinfo(effect eff, effect alocs);
|
|
|
|
bool file_pointer_qtype(qtype qt);
|
|
|