linux-mips
[Top] [All Lists]

structure initialization

To: linux-mips@linux-mips.org
Subject: structure initialization
From: Jerry <jerry@wicomtechnologies.com>
Date: Fri, 22 Jul 2005 16:39:29 +0300
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: Jerry <jerry@wicomtechnologies.com>
Sender: linux-mips-bounce@linux-mips.org
A kind of lame offtopic question :)
What reason in 2.6 to do structure init in this way:
 struct a = {
  .name = value
...

instead of 2.4-like:
 struct a = {
  name: value
...

Is this a bad form to use ".name" in 2.4 or "name:" in 2.6?


   ()_()
 -( ^,^ )- -[21398845]- -<The Bat! 3.0.1.33>- -<22.07.2005 16:27>-
  (") (")


<Prev in Thread] Current Thread [Next in Thread>