static functions broken in non-Unix compilers?

Bob Larson blarson at skat.usc.edu
Sat May 28 13:55:21 AEST 1988


In article <138 at pigs.UUCP> haugj at pigs.UUCP (John F. Haugh II) writes:
[discussing ANSI c function declarations:]
> Doug Gwyn, I believe, wrote in a follow
>up article, for those of you who missed it, that yes, you must
>declare the function to have the same storage class as the actual
>function definition itself has.

Primos (Prime) C is an exmaple of a pre-ansi compiler that does require
this.  ANSI was not inovating, they were just following the strictest
existing practice.
-- 
Bob Larson	Arpa: Blarson at Ecla.Usc.Edu	blarson at skat.usc.edu
Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson
Prime mailing list:	info-prime-request%fns1 at ecla.usc.edu
			oberon!fns1!info-prime-request



More information about the Comp.std.c mailing list