Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!hal!nic.MR.NET!umn-cs!raghavan From: raghavan@umn-cs.CS.UMN.EDU (Vijay Raghavan) Newsgroups: comp.lang.c Subject: Include files Message-ID: <10991@umn-cs.CS.UMN.EDU> Date: 27 Jan 89 22:08:52 GMT Reply-To: raghavan@umn-cs.cs.umn.edu (Vijay Raghavan) Organization: CSci Dept., University of Minnesota, Mpls. Lines: 26 Is the Sun style of surrounding the text of standard "include" files with a #ifndef-#endif pair really okay? Specifically, does the standard condone/permit/require stdio.h (say) to have the following structure: #ifndef FILE ... #define FILE struct _iobuf ... #endif !__FILE If it does, programs like the following should not compile: main() { #include FILE *xx; ... } proc1() { #include FILE *yy; ... } Vijay Raghavan