> Why do you not merge functions with no prototype?
The idea was to ignore k&r functions. The rules there seem really
strange. For example, we get a null merge type with
char *rindex(s, c)
register char *s, c;
{
return 0;
}
and even if we ignore those, codegen expects the type from the definition in
int svc_register (void (*dispatch) (int));
int svc_register (dispatch)
void (*dispatch) ();
{
}
Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits