From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7851 Path: news.gmane.org!not-for-mail From: Tomasz Sterna Newsgroups: gmane.linux.lib.musl.general Subject: time.h define NULL Date: Tue, 02 Jun 2015 11:09:40 +0200 Organization: Xiaoka.com Message-ID: <1433236180.2010.17.camel@xiaoka.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1433236223 21350 80.91.229.3 (2 Jun 2015 09:10:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2015 09:10:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7864-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 02 11:10:08 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YziCz-0001QD-JL for gllmg-musl@m.gmane.org; Tue, 02 Jun 2015 11:10:05 +0200 Original-Received: (qmail 13321 invoked by uid 550); 2 Jun 2015 09:09:57 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 12265 invoked from network); 2 Jun 2015 09:09:52 -0000 X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) X-Scan-Signature: xkh0.infr.xiaoka.com 1YziCa-0006pu-Pc 8936a7ebc2c2c4019e77ad56adda725c Xref: news.gmane.org gmane.linux.lib.musl.general:7851 Archived-At: 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.