From: utzoo!decvax!harpo!utah-cs!utah-gr!thomas
Newsgroups: net.lang.c
Title: Re: Pointer to Function Anomaly
Article-I.D.: utah-gr.682
Posted: Sat Jan 15 13:27:06 1983
Received: Mon Jan 17 04:12:53 1983
References: ihuxe.187

It has nothing to do with "pointer to function", but that the first
declaration is implicitly "extern".  The following function also compiles
without complaint, and the assignment is indeed floating point.  This is
merely an example of a local declaration overriding a global one.  Notice 
that it is not even necessary to say "static" in this case.

	bar()
	{
		extern int foo;
		float foo;
	
		foo = 2.3;
	}

=Spencer