]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Ada, Darwin: Fix bootstrap after recent warning improvements.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 10 Jan 2026 13:08:17 +0000 (13:08 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 10 Jan 2026 15:34:13 +0000 (15:34 +0000)
Similar to the changes in r16-6620, the improved gnatwu warning finds a 'use'
clause that is not needed in s-osinte__darwin.abd leading to a bootstrap
fail building the libraries.

Fixed by removing the extraneous 'use' clause.

gcc/ada/ChangeLog:

* libgnarl/s-osinte__darwin.adb: Delete unneeded use clause.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ada/libgnarl/s-osinte__darwin.adb

index 27b8d25fb73a58f6bcd6f75657fec2ae07382e1b..0c6b4e5f0dd192c510cc228da19a51ebe0b806d0 100644 (file)
@@ -58,8 +58,6 @@ package body System.OS_Interface is
 
       --  Darwin Threads don't have clock_gettime, so use gettimeofday
 
-      use Interfaces;
-
       TV     : aliased C_Time.timeval;
       Result : int;