NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/56402 CVS commit: src/include



The following reply was made to PR standards/56402; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/56402 CVS commit: src/include
Date: Mon, 9 Sep 2024 15:15:24 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Sep  9 15:15:24 UTC 2024
 
 Modified Files:
 	src/include: stdlib.h
 
 Log Message:
 stdlib.h: Use same test for def. of lldiv_t as for decl. of lldiv(3).
 
 The !_ANSI_SOURCE conditional was a leftover from before we had
 _NETBSD_SOURCE in sys/featuretest.h already defined conditionally on
 !_ANSI_SOURCE.
 
 So just nix the !_ANSI_SOURCE part -- and while here, reorder and
 reformat the conditional around lldiv_t so it matches the conditional
 around lldiv(3) byte-for-byte, just to make it more obvious.
 
 PR standards/56402: Definition of lldiv_t with ANSI_SOURCE and
 POSIX_SOURCE
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.125 -r1.126 src/include/stdlib.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index