Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574941

RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include

From David Laight <David.Laight@ACULAB.COM>
Newsgroups linux.kernel
Subject RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include
Date 2017-02-06 17:20 +0100
Message-ID <t7Ubg-7e3-13@gated-at.bofh.it> (permalink)
References <t7p7r-46L-1@gated-at.bofh.it> <t7p7r-46L-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Stafford Horne
> Sent: 05 February 2017 07:08
> This was causing a build failure for openrisc when using musl and
> gcc 5.4.0 since the file is not available in the toolchain.
> 
> It doesnt seem this is needed and removing it does not cause any build
> warnings for me.

Hmmm... stddef.h is part of the SuS v2.
Required to get definitions for NULL, offsetof(), ptrdiff_t and size_t.

So any system that is pretending to by unix-like ought to have one.

	David

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Remove unneeded stddef.h includes Stafford Horne <shorne@gmail.com> - 2017-02-05 08:10 +0100
  [PATCH 2/2] staging: vchip_shim: Remove unneeded stddef.h include Stafford Horne <shorne@gmail.com> - 2017-02-05 08:10 +0100
  [PATCH 1/2] libceph: Remove unneeded stddef.h include Stafford Horne <shorne@gmail.com> - 2017-02-05 08:10 +0100
    Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include Ilya Dryomov <idryomov@gmail.com> - 2017-02-06 11:20 +0100
    RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include David Laight <David.Laight@ACULAB.COM> - 2017-02-06 17:20 +0100
      Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include Stafford Horne <shorne@gmail.com> - 2017-02-07 03:50 +0100

csiph-web