Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!mephisto!udel!mmdf From: HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) Newsgroups: comp.os.minix Subject: C SYNTAX QUESTION Message-ID: <20394@nigel.udel.EDU> Date: 28 May 90 07:48:08 GMT Sender: usenet@udel.EDU Lines: 13 In the ST-1.5 distribution, kernel/stvdu.c, there is a function with body (flush) and the EXTERN (extern) attribute. Is this legal? My compiler compiled that function OK, but did not export the function name since it was not global, so the linker gave an error. The ,,fix'' to the compiler is trivial: if (function with body AND storage class is extern) THEN set storage class to global. The question is: should I do this with the compiler, producing another patch, or is it an error in stvdu.c? C.v.W