mailing list of musl libc
 help / color / mirror / code / Atom feed
* time.h define NULL
@ 2015-06-02  9:09 Tomasz Sterna
  2015-06-02  9:35 ` Szabolcs Nagy
  0 siblings, 1 reply; 19+ messages in thread
From: Tomasz Sterna @ 2015-06-02  9:09 UTC (permalink / raw)
  To: musl

Why does time.h unconditionally define NULL [1]?

It gives me the following warning during compilation:

In file included from /usr/include/pthread.h:31:
/usr/include/time.h:11:9: warning: 'NULL' macro redefined
[-Wmacro-redefined]
#define NULL 0L
        ^

[1] http://git.musl-libc.org/cgit/musl/tree/include/time.h#n11
-- 
 /o__ 
(_<^' It's better to burn out than it is to rust.



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

end of thread, other threads:[~2015-06-06 15:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02  9:09 time.h define NULL Tomasz Sterna
2015-06-02  9:35 ` Szabolcs Nagy
2015-06-02  9:38   ` Daniel Cegiełka
2015-06-02  9:41     ` Szabolcs Nagy
2015-06-02 11:16   ` Tomasz Sterna
2015-06-02 11:24     ` Szabolcs Nagy
2015-06-02 12:04       ` Tomasz Sterna
2015-06-02 15:57         ` stable 1.1.9 & current GIT broken on mips Sebastian Gottschall
2015-06-02 17:19           ` Rich Felker
2015-06-02 17:52             ` Sebastian Gottschall
2015-06-02 19:11               ` Rich Felker
2015-06-02 19:59                 ` Sebastian Gottschall
2015-06-04  4:04                   ` Rich Felker
2015-06-04  8:29                     ` Sebastian Gottschall
2015-06-04 12:14                     ` Sebastian Gottschall
2015-06-04 16:07                       ` Rich Felker
2015-06-06 15:42                         ` Anthony G. Basile
2015-06-06 15:59                           ` Anthony G. Basile
2015-06-02 11:32     ` time.h define NULL Jens Gustedt

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).