Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!haven!umd5!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: static list initialization Message-ID: <8694@smoke.ARPA> Date: 17 Oct 88 05:03:35 GMT References: <196@donk.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Distribution: na Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <196@donk.UUCP> ajw@donk.UUCP (ajw) writes: >Question is, is there a way to achieve this initialization within >the letter of the law, leaving 'head' and 'tail' both static? Do the following in sequence: declare "tail" to be a struct whatever (an incomplete type) declare what a "struct whatever" looks like initialize a declaration of "tail" I don't have a copy of the standard at hand, but I think that's supposed to work.