public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Art Haas <ahaas@airmail.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Switch kernel/sysctl.c to use C99 initializers
Date: Sun, 9 Feb 2003 20:17:04 +0000	[thread overview]
Message-ID: <20030209201704.B7704@infradead.org> (raw)
In-Reply-To: <20030208005753.GA4386@debian>; from ahaas@airmail.net on Fri, Feb 07, 2003 at 06:57:53PM -0600

On Fri, Feb 07, 2003 at 06:57:53PM -0600, Art Haas wrote:
> --- 1.37/kernel/sysctl.c	Thu Dec  5 10:06:54 2002
> +++ edited/sysctl.c	Fri Feb  7 18:12:14 2003
> @@ -147,121 +147,458 @@
>  /* The default sysctl tables: */
>  
>  static ctl_table root_table[] = {
> -	{CTL_KERN, "kernel", NULL, 0, 0555, kern_table},
> -	{CTL_VM, "vm", NULL, 0, 0555, vm_table},
> +	{
> +		.ctl_name	= CTL_KERN,
> +		.procname	= "kernel",
> +		.data		= NULL,
> +		.maxlen		= 0,
> +		.mode		= 0555,
> +		.child		= kern_table

I don't think this makes the code more readable..


      reply	other threads:[~2003-02-09 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-08  0:57 [PATCH] Switch kernel/sysctl.c to use C99 initializers Art Haas
2003-02-09 20:17 ` Christoph Hellwig [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=20030209201704.B7704@infradead.org \
    --to=hch@infradead.org \
    --cc=ahaas@airmail.net \
    --cc=linux-kernel@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