Lines Matching defs:arg
2743 struct symbol *arg;
2766 FOR_EACH_PTR (base_type->arguments, arg) {
2767 declare_argument(arg, base_type);
2768 } END_FOR_EACH_PTR(arg);
2802 static void promote_k_r_types(struct symbol *arg)
2804 struct symbol *base = arg->ctype.base_type;
2806 arg->ctype.base_type = &int_ctype;
2813 struct symbol *arg;
2815 FOR_EACH_PTR(real_args, arg) {
2820 if (type->ident == arg->ident)
2824 warning(arg->pos, "missing type declaration for parameter '%s'",
2825 show_ident(arg->ident));
2827 type = alloc_symbol(arg->pos, SYM_NODE);
2828 type->ident = arg->ident;
2835 arg->ctype = type->ctype;
2836 } END_FOR_EACH_PTR(arg);
2838 FOR_EACH_PTR(argtypes, arg) {
2839 if (!arg->used)
2840 warning(arg->pos, "nonsensical parameter declaration '%s'", show_ident(arg->ident));
2841 } END_FOR_EACH_PTR(arg);