ansi weirdness

R. Kym Horsell vu0310 at bingvaxu.cc.binghamton.edu
Mon Sep 10 05:34:40 AEST 1990


In article <11305 at alice.UUCP> andrew at alice.UUCP (Andrew Hume) writes:
[]
>	typedef int (*fn)(struct x *);
>	extern int fn1(struct x *);
>	extern fn *fp = fn1;
[Why does the (ANSII) compiler say struct's are different]?

Don't ask _why_ just put ``struct x;'' in front.

-Kym Horsell



More information about the Comp.lang.c mailing list