Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-tgr.ARPA Path: utzoo!linus!decvax!mcnc!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.lang.c Subject: Re: A Modest Extension to the C Preprocessor Message-ID: <3797@brl-tgr.ARPA> Date: Sat, 4-Aug-84 16:28:05 EDT Article-I.D.: brl-tgr.3797 Posted: Sat Aug 4 16:28:05 1984 Date-Received: Mon, 6-Aug-84 03:27:42 EDT References: <377@wdl1.UUCP>, <338@harvard.ARPA>, <339@harvard.ARPA> Organization: Ballistics Research Lab Lines: 20 #ifndef FOO_H_INCLUDED #define FOO_H_INCLUDED /* contents of "foo.h" */ #endif FOO_H_INCLUDED is an excellent solution to the "problem", if it be one, that does not penalize those that had no problem with this business in the first place. This also solves the problem of making sure that prerequisite files such as are included: #ifndef SYSTYPES_H_INCLUDED #include #endif /* stuff that uses typedefs */ Good work, Dave! I would, however, suggest shortening the tag symbols a bit; probably "_H" could be safely removed.