@@ -278,11 +278,11 @@ struct expr *expr_alloc_or(struct expr *e1, struct expr *e2);
278278struct expr * expr_copy (const struct expr * org );
279279void expr_free (struct expr * e );
280280void expr_eliminate_eq (struct expr * * ep1 , struct expr * * ep2 );
281- int expr_eq (struct expr * e1 , struct expr * e2 );
281+ bool expr_eq (struct expr * e1 , struct expr * e2 );
282282tristate expr_calc_value (struct expr * e );
283283struct expr * expr_eliminate_dups (struct expr * e );
284284struct expr * expr_transform (struct expr * e );
285- int expr_contains_symbol (struct expr * dep , struct symbol * sym );
285+ bool expr_contains_symbol (struct expr * dep , struct symbol * sym );
286286bool expr_depends_symbol (struct expr * dep , struct symbol * sym );
287287struct expr * expr_trans_compare (struct expr * e , enum expr_type type , struct symbol * sym );
288288
@@ -292,7 +292,7 @@ void expr_gstr_print(const struct expr *e, struct gstr *gs);
292292void expr_gstr_print_revdep (struct expr * e , struct gstr * gs ,
293293 tristate pr_type , const char * title );
294294
295- static inline int expr_is_yes (const struct expr * e )
295+ static inline bool expr_is_yes (const struct expr * e )
296296{
297297 return !e || (e -> type == E_SYMBOL && e -> left .sym == & symbol_yes );
298298}
0 commit comments