Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109236356
D22964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
D22964.diff
View Options
Index: head/libexec/rtld-elf/rtld.h
===================================================================
--- head/libexec/rtld-elf/rtld.h
+++ head/libexec/rtld-elf/rtld.h
@@ -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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 10:49 AM (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16431857
Default Alt Text
D22964.diff (621 B)
Attached To
Mode
D22964: rtld(1): Do booleans like C99
Attached
Detach File
Event Timeline
Log In to Comment