]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear namespace pollution in include/malloc_np.h
authorkib <kib@FreeBSD.org>
Tue, 12 May 2020 18:12:20 +0000 (18:12 +0000)
committerkib <kib@FreeBSD.org>
Tue, 12 May 2020 18:12:20 +0000 (18:12 +0000)
commit04e87eddfa3bb59ef8bc78d141b63e33960952bf
treed474aca5279fd9f48c49a4b412f4491167fa0896
parent7db205c2269988daf79ffbfe09f7f90a65b14d49
Clear namespace pollution in include/malloc_np.h

Do not include stdbool.h, it makes the header incompatible with some
third-party code that typedefs bool manually.
Remove inclusion of strings.h, which typically conflicts with the use
of symbol 'index'.
Separate inclusion of sys/cdefs.h is not needed because sys/types.h
already handles that.

Exp-run by: antoine (PR 245366)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D24297
include/malloc_np.h