Backport from mainline
2018-07-31 Eric Botcazou <ebotcazou@adacore.com>
* s-osinte-solaris.ads (upad64_t): New private type.
(mutex_t): Use it for 'lock' and 'data' components.
(cond_t): Likewise for 'data' and use single 'flags' component.
From-SVN: r264266
+2018-09-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ Backport from mainline
+ 2018-07-31 Eric Botcazou <ebotcazou@adacore.com>
+
+ * s-osinte-solaris.ads (upad64_t): New private type.
+ (mutex_t): Use it for 'lock' and 'data' components.
+ (cond_t): Likewise for 'data' and use single 'flags' component.
+
2018-07-17 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (choices_to_gnu): Rename parameters. Deal with
end record;
pragma Convention (C, record_type_3);
+ type upad64_t is new Interfaces.Unsigned_64;
+
type mutex_t is record
flags : record_type_3;
- lock : String (1 .. 8);
- data : String (1 .. 8);
+ lock : upad64_t;
+ data : upad64_t;
end record;
pragma Convention (C, mutex_t);
type cond_t is record
- flag : array_type_9;
- Xtype : unsigned_long;
- data : String (1 .. 8);
+ flags : record_type_3;
+ data : upad64_t;
end record;
pragma Convention (C, cond_t);