Source-Changes archive

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

CVS commit: [netbsd-10] src/include



Module Name:    src
Committed By:   martin
Date:           Fri Oct 11 19:03:24 UTC 2024

Modified Files:
        src/include [netbsd-10]: stdlib.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #951):

        include/stdlib.h: revision 1.126

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