Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cca!mirror!datacube!ftw From: ftw@datacube.UUCP Newsgroups: comp.lang.c Subject: Re: #include in Whitesmith Message-ID: <102600028@datacube> Date: Mon, 30-Nov-87 11:16:00 EST Article-I.D.: datacube.102600028 Posted: Mon Nov 30 11:16:00 1987 Date-Received: Fri, 4-Dec-87 04:13:53 EST References: <10568@brl-adm.ARPA> Lines: 25 Nf-ID: #R:brl-adm.ARPA:-1056800:datacube:102600028:000:747 Nf-From: datacube.UUCP!ftw Nov 30 11:16:00 1987 All of the Whitesmiths header files have cookies in them that will prevent their inclusion more than once. The cookies have predictable names, for instance, at the top of types.h, you should see: #ifndef __TYPES__ #define __TYPES__ 1 #endif Tell us more of what your friend means when he says "when I compile them together". Does he mean that he appends the files together before passing them to the "cc" exec (doubtful), or does he mean that he passes the names of both of the files to cc? Farrell T. Woods Datacube Inc. Systems / Software Group 4 Dearborn Rd. Peabody, Ma 01960 VOICE: 617-535-6644; FAX: (617) 535-5643; TWX: (710) 347-0125 INTERNET: ftw@datacube.COM UUCP: {rutgers, ihnp4, mirror}!datacube!ftw