HomeFreeBSD

stdlib.h: add __noexcept to prototypes

Description

stdlib.h: add __noexcept to prototypes

The noexcept specifier is required on these functions in C++:
_Exit(), atexit(), quick_exit(), at_quick_exit(), abort().

MFC after: 2 weeks

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1085

Details

Provenance
lexi_le-fay.orgAuthored on Feb 2 2024, 4:41 PM
impCommitted on Feb 2 2024, 6:11 PM
Parents
rG02b0d4b688cc: sys/cdefs.h: add __noexcept and __noexcept_if
Branches
Unknown
Tags
Unknown
Reverted By
rGd56a6f0516a7: stdlib.h: Partially revert c27a89971805