From: Estevan Castilho (Tevo) Date: Sat, 28 Dec 2024 20:37:37 +0000 (+0000) Subject: Ada: Fix build for dummy s-taprop X-Git-Tag: basepoints/gcc-16~2995 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31f1bec65ba257adc346f952fd79a1ec3165a2e6;p=thirdparty%2Fgcc.git Ada: Fix build for dummy s-taprop gcc/ada * libgnarl/s-taprop__dummy.adb: Remove use clause for System.Parameters. (Unlock): Remove Global_Lock formal parameter. (Write_Lock): Likewise. --- diff --git a/gcc/ada/libgnarl/s-taprop__dummy.adb b/gcc/ada/libgnarl/s-taprop__dummy.adb index 68ec8b448bac..2127fb1f1b10 100644 --- a/gcc/ada/libgnarl/s-taprop__dummy.adb +++ b/gcc/ada/libgnarl/s-taprop__dummy.adb @@ -37,7 +37,6 @@ package body System.Task_Primitives.Operations is use System.OS_Locks; - use System.Parameters; use System.Tasking; pragma Warnings (Off); @@ -483,10 +482,7 @@ package body System.Task_Primitives.Operations is null; end Unlock; - procedure Unlock - (L : not null access RTS_Lock; - Global_Lock : Boolean := False) - is + procedure Unlock (L : not null access RTS_Lock) is begin null; end Unlock; @@ -525,10 +521,7 @@ package body System.Task_Primitives.Operations is Ceiling_Violation := False; end Write_Lock; - procedure Write_Lock - (L : not null access RTS_Lock; - Global_Lock : Boolean := False) - is + procedure Write_Lock (L : not null access RTS_Lock) is begin null; end Write_Lock;