From: Jeff Garzik <jgarzik@pobox.com>
To: Jay Denebeim <denebeim@deepthot.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: coding style question
Date: Wed, 25 Feb 2004 20:28:45 -0500 [thread overview]
Message-ID: <403D4BCD.2010407@pobox.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0402251128430.6557-100000@dent.deepthot.org>
Two reasons I can think of off the top of my head:
* POSIX prefers "struct foo" as opposed to "foo" or "foo_t"
* typedefs obscure the fact that a data structure is in fact a
structure, and not a native machine type. Typically typedefs are best
used for discrete elements those contents are either opaque or a single
value.
Jeff
prev parent reply other threads:[~2004-02-26 1:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 18:16 coding style question Jay Denebeim
2004-02-25 18:25 ` Matthew Wilcox
2004-02-25 18:40 ` Jay Denebeim
2004-02-25 19:29 ` Randy.Dunlap
2004-02-25 19:37 ` Jay Denebeim
2004-02-26 0:02 ` Bryan Henderson
2004-02-25 22:40 ` Patrick Mansfield
2004-02-26 16:09 ` Clay Haapala
2004-02-26 1:28 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=403D4BCD.2010407@pobox.com \
--to=jgarzik@pobox.com \
--cc=denebeim@deepthot.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox