mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Fix function definitions.
@ 2012-03-09  8:14 Georgi Chorbadzhiyski
  2012-03-09  8:14 ` [PATCH 1/4] include/stdlib.h: Define clearenv() if (_SVID_SOURCE || _BSD_SOURCE) is set Georgi Chorbadzhiyski
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Georgi Chorbadzhiyski @ 2012-03-09  8:14 UTC (permalink / raw)
  To: musl

Define several functions if _BSD_SOURCE is set. _XOPEN_SOURCE
should also be checked but I can't be bothered, because _BSD_SOURCE
works.

Background for these patches:
  http://lists.landley.net/pipermail/toybox-landley.net/2012-March/000309.html

Georgi Chorbadzhiyski (4):
  include/stdlib.h: Define clearenv() if (_SVID_SOURCE || _BSD_SOURCE)
    is set.
  include/unistd.h: Define sethostname() if _BSD_SOURCE is set.
  include/unistd.h: Define vfork() if _BSD_SOURCE is set.
  include/sys/types.h: major(), minor() and makedev() should be defined
    if _BSD_SOURCE is set.

 include/stdlib.h    |    5 ++++-
 include/sys/types.h |    5 ++++-
 include/unistd.h    |   10 ++++++++--
 3 files changed, 16 insertions(+), 4 deletions(-)

-- 
1.7.5.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-04-05 21:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-09  8:14 [PATCH 0/4] Fix function definitions Georgi Chorbadzhiyski
2012-03-09  8:14 ` [PATCH 1/4] include/stdlib.h: Define clearenv() if (_SVID_SOURCE || _BSD_SOURCE) is set Georgi Chorbadzhiyski
2012-03-09  8:14 ` [PATCH 2/4] include/unistd.h: Define sethostname() if _BSD_SOURCE " Georgi Chorbadzhiyski
2012-03-09  8:14 ` [PATCH 3/4] include/unistd.h: Define vfork() " Georgi Chorbadzhiyski
2012-03-09  8:14 ` [PATCH 4/4] include/sys/types.h: major(), minor() and makedev() should be defined " Georgi Chorbadzhiyski
2012-03-09  8:21 ` [PATCH 0/4] Fix function definitions Georgi Chorbadzhiyski
2012-03-09  8:22   ` Georgi Chorbadzhiyski
2012-03-09  8:33   ` Rich Felker
2012-03-09  9:16     ` Georgi Chorbadzhiyski
2012-03-09 15:11       ` Rob Landley
2012-03-09 16:38         ` Rich Felker
2012-03-16 19:05           ` Isaac Dunham
2012-03-16 22:48             ` Rich Felker
2012-04-05 21:06               ` Isaac Dunham

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).