]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Ada: Fix build for dummy s-taprop
authorEstevan Castilho (Tevo) <estevan.cps@gmail.com>
Sat, 28 Dec 2024 20:37:37 +0000 (20:37 +0000)
committerEric Botcazou <ebotcazou@adacore.com>
Sun, 5 Jan 2025 11:56:30 +0000 (12:56 +0100)
gcc/ada
* libgnarl/s-taprop__dummy.adb: Remove use clause for
System.Parameters.
(Unlock): Remove Global_Lock formal parameter.
(Write_Lock): Likewise.

gcc/ada/libgnarl/s-taprop__dummy.adb

index 5ab41b1b3c171363218ed7c0e66c418a28ef87ed..e5360a63f3d3aee4e9e00c5e8c2d2b445fe72317 100644 (file)
@@ -37,7 +37,6 @@
 package body System.Task_Primitives.Operations is
 
    use System.Tasking;
-   use System.Parameters;
 
    pragma Warnings (Off);
    --  Turn off warnings since so many unreferenced parameters
@@ -480,10 +479,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;
@@ -522,10 +518,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;