Source-Changes archive

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

CVS commit: [netbsd-10] src/sys/sys




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: [netbsd-10] src/sys/sys

From: "Martin Husemann" <martin%netbsd.org@localhost>

Date: Sun, 13 Oct 2024 16:15:07 +0000


Module Name:    src
Committed By:   martin
Date:           Sun Oct 13 16:15:07 UTC 2024

Modified Files:
        src/sys/sys [netbsd-10]: cdefs.h

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

        sys/sys/cdefs.h: revision 1.162

sys/cdefs.h: Make various macros work more robustly.

Use predefined __-namespace macros inside __BIT, __type_min,
__type_max, and __type_fit:
- Use __CHAR_BIT__ instead of NBBY so this works without sys/types.h
  and without _NETBSD_SOURCE.
- Use __INTMAX_TYPE__, __UINTMAX_TYPE__ instead of intmax_t, uintmax_t
  so this works without stdint.h.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.159.4.1 src/sys/sys/cdefs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: [netbsd-10] src/sys/kern

Next by Date: CVS commit: [netbsd-10] src/doc

Previous by Thread: CVS commit: [netbsd-10] src/sys/kern

Next by Thread: CVS commit: [netbsd-10] src/doc

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index