Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Naming convention for structs and types Date: Sat, 14 Jan 2017 14:31:37 -0800 Organization: None to speak of Lines: 13 Message-ID: References: <13ae9e88-30fd-4c3d-9427-51eea224fa77@googlegroups.com> <87eg07rbbn.fsf@bsb.me.uk> <858665e4-02d7-4cd3-b6c0-abbea273d3c8@googlegroups.com> <4a6162d6-d0ef-46bf-b0e8-152eec117045@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="ba0db46df61d502ee0e6afe10bb5a782"; logging-data="13715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cGb2EcNlSxd9RD+YdM7S9" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:UiKw3uNYHCRM5o8VfEgebVfh9sE= sha1:f34BRgOSVZVBOSNFfq+TXNuvs+k= Xref: csiph.com comp.lang.c:101816 Thiago Adams writes: [...] > typedef int int; > int is a alias for int [...] That's illegal; you can't use a keyword as a typedef name. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"