diff options
author | Arnaud Charlet <charlet@adacore.com> | 2021-03-03 10:14:43 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-06-17 10:32:09 -0400 |
commit | 1b96f017cd4c6eb36afe95c7e7683928274c47fc (patch) | |
tree | 9578ad472a2058406ed8a4bc7bdabd01e91814be /gcc | |
parent | 02e9e5fb97a0342e370ea7ec0fff519b42edf097 (diff) | |
download | gcc-1b96f017cd4c6eb36afe95c7e7683928274c47fc.zip gcc-1b96f017cd4c6eb36afe95c7e7683928274c47fc.tar.gz gcc-1b96f017cd4c6eb36afe95c7e7683928274c47fc.tar.bz2 |
[Ada] AI12-0411 Add "bool" to Interfaces.C
gcc/ada/
* libgnat/i-c.ads, libgnat/i-cexten.ads,
libgnat/i-cexten__128.ads: bool renamed C_bool.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/libgnat/i-c.ads | 4 | ||||
-rw-r--r-- | gcc/ada/libgnat/i-cexten.ads | 2 | ||||
-rw-r--r-- | gcc/ada/libgnat/i-cexten__128.ads | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/libgnat/i-c.ads b/gcc/ada/libgnat/i-c.ads index 5c36245..428ea49 100644 --- a/gcc/ada/libgnat/i-c.ads +++ b/gcc/ada/libgnat/i-c.ads @@ -63,8 +63,8 @@ package Interfaces.C is -- Boolean type - type bool is new Boolean; - pragma Convention (C, bool); + type C_bool is new Boolean; + pragma Convention (C, C_bool); -- Floating-Point diff --git a/gcc/ada/libgnat/i-cexten.ads b/gcc/ada/libgnat/i-cexten.ads index 42eb578..70d2621 100644 --- a/gcc/ada/libgnat/i-cexten.ads +++ b/gcc/ada/libgnat/i-cexten.ads @@ -56,7 +56,7 @@ package Interfaces.C.Extensions is -- C bool - subtype bool is Interfaces.C.bool; + subtype bool is Interfaces.C.C_bool; -- 64-bit integer types diff --git a/gcc/ada/libgnat/i-cexten__128.ads b/gcc/ada/libgnat/i-cexten__128.ads index 70727b7..c07c5ab 100644 --- a/gcc/ada/libgnat/i-cexten__128.ads +++ b/gcc/ada/libgnat/i-cexten__128.ads @@ -56,7 +56,7 @@ package Interfaces.C.Extensions is -- C bool - subtype bool is Interfaces.C.bool; + subtype bool is Interfaces.C.C_bool; -- 64-bit integer types |