mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: akpm@osdl.org, Simon.Derr@bull.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cpuset release ABBA deadlock fix
Date: Tue, 9 Aug 2005 02:13:55 -0700	[thread overview]
Message-ID: <20050809021355.5a0710c9.pj@sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0508090902350.1805@yvahk01.tjqt.qr>

Jan wrote:
> Because K&R (also the 2nd ed) does it.

I don't recall (void) being in early C.  Perhaps it was added as
part of the ANSI Standardization effort.  I doubt that the first
edition K&R [1978] has it.  But my copy is not at hand to verify
this.

I continue to use it in userspace code to document that I'm ignoring
a return value.  This habit likely began when I had to suppress lint
warnings about unused function returns at some point in my career.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401

  reply	other threads:[~2005-08-09  9:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 22:37 Paul Jackson
2005-08-09  6:25 ` Andrew Morton
2005-08-09  7:06   ` Jan Engelhardt
2005-08-09  9:13     ` Paul Jackson [this message]
2005-08-09  8:25   ` Paul Jackson

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=20050809021355.5a0710c9.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=Simon.Derr@bull.net \
    --cc=akpm@osdl.org \
    --cc=jengelh@linux01.gwdg.de \
    --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

all inboxes | Powered by JetHome®