Author: cem Date: Tue Dec 31 05:41:47 2019 New Revision: 356220 URL: https://svnweb.freebsd.org/changeset/base/356220
Log: rtld(1): Do booleans like C99 Reviewed by: kib, rlibby Differential Revision: https://reviews.freebsd.org/D22964 Modified: head/libexec/rtld-elf/rtld.h Modified: head/libexec/rtld-elf/rtld.h ============================================================================== --- head/libexec/rtld-elf/rtld.h Tue Dec 31 05:39:27 2019 (r356219) +++ head/libexec/rtld-elf/rtld.h Tue Dec 31 05:41:47 2019 (r356220) @@ -37,6 +37,7 @@ #include <elf-hints.h> #include <link.h> #include <stdarg.h> +#include <stdbool.h> #include <setjmp.h> #include <stddef.h> @@ -45,11 +46,6 @@ #define NEW(type) ((type *) xmalloc(sizeof(type))) #define CNEW(type) ((type *) xcalloc(1, sizeof(type))) - -/* We might as well do booleans like C++. */ -typedef unsigned char bool; -#define false 0 -#define true 1 extern size_t tls_last_offset; extern size_t tls_last_size; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"