summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-28 00:26:03 +0300
committerAndreas Kling <kling@serenityos.org>2021-10-28 11:24:36 +0200
commitf22787dd392aa8481683f7c1cb31708a1b8b78e9 (patch)
treebd1787cd8186f9e385f6c336bd5693b3b5f7f7a5 /Userland/Libraries
parent2882a90decfa19784b096ff684fa7db2b978d4bf (diff)
downloadserenity-f22787dd392aa8481683f7c1cb31708a1b8b78e9.zip
LibC: Change the type of FBProperties' fields from bool to unsigned char
The bool type is not available in C89.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibC/sys/ioctl_numbers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h
index ca715672c5..257def59b8 100644
--- a/Userland/Libraries/LibC/sys/ioctl_numbers.h
+++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h
@@ -19,10 +19,10 @@ struct winsize {
};
struct FBProperties {
- bool multihead_support;
- bool doublebuffer_support;
- bool flushing_support;
- bool partial_flushing_support;
+ unsigned char multihead_support;
+ unsigned char doublebuffer_support;
+ unsigned char flushing_support;
+ unsigned char partial_flushing_support;
};
struct FBHeadProperties {