Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-vgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!floyd!cmcl2!seismo!brl-tgr!brl-vgr!gwyn From: gwyn@brl-vgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Let ME try for a new topic... Message-ID: <2782@brl-vgr.ARPA> Date: Fri, 1-Jun-84 14:48:52 EDT Article-I.D.: brl-vgr.2782 Posted: Fri Jun 1 14:48:52 1984 Date-Received: Tue, 5-Jun-84 07:56:27 EDT References: <182@itm.UUCP> Organization: Ballistics Research Lab Lines: 7 Keywords: C, definition, reference, external The #define extern /**/ trick only works if you want your extern storage definitions to be filled with zeros. I think it is better to init the extern data explicitly (even if it is zero) in a module that deals with the data. Better still, reduce the global data to an insignificant amount (pass arguments to functions as parameters and collect data structure manipulators into a single module with the data made file-static).