public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: NKML <netdev@vger.kernel.org>
Subject: using C99 in nasm
Date: Sun, 28 Jun 2009 22:19:15 +0400	[thread overview]
Message-ID: <20090628181915.GB19425@lenovo> (raw)

Hi,

is there a special reason why don't we
use C99 style of assignment for structure members?

For exmaple when assign ofmt structure members
why don't use positional independing fashion
like

struct ofmt of_macho = {
	.fullname	= "NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X object files",
	.shortname	= "macho",
	.helpstring	= NULL,
	.debug_formats	= null_debug_arr,
	...
};

For the sake of portability maybe?

	-- Cyrill

             reply	other threads:[~2009-06-28 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-28 18:19 Cyrill Gorcunov [this message]
2009-06-28 19:06 ` using C99 in nasm Cyrill Gorcunov

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=20090628181915.GB19425@lenovo \
    --to=gorcunov@gmail.com \
    --cc=hpa@zytor.com \
    --cc=netdev@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