reported by erik quanstrom.
R=ken2
https://golang.org/cl/181071
void addidir(char*);
void importfile(Val*, int line);
void cannedimports(char*, char*);
-void unimportfile();
+void unimportfile(void);
int32 yylex(void);
void typeinit(void);
void lexinit(void);
int isfat(Type*);
void clearfat(Node *n);
void cgen(Node*, Node*);
-struct Prog;
void gused(Node*);
void gdata(Node*, Node*, int);
void gdatastring(Node*, Strlit*);
return n;
}
-Sym*
+static Sym*
dtypesym(Type *t)
{
int ot, n;
case ONAME:
if(flag)
print("--- %s frame ---\n", p);
- print("%O %S G%ld T\n", n->op, n->sym, n->vargen, n->type);
+ print("%O %S G%ld %T\n", n->op, n->sym, n->vargen, n->type);
flag = 0;
break;
}
r = args->n;
- n = nod(OLITERAL, N, N);
if(strcmp(s->name, "Sizeof") == 0) {
typecheck(&r, Erv);
tr = r->type;
*np = n;
}
-Node*
+static Node*
makenewvar(Type *t, NodeList **init, Node **nstar)
{
Node *nvar, *nas;