This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] fix PR ada/29707


Add missing function introduced in a previous commit for other targets,
and not propagated, since s-osinte-linux-* files are duplicated.

A better fix in the long run will be to merge these two files with
s-osinte-linux.ads

Committed as obvious, not tested (since I do not have access to a linux
alpha or linux hppa set up).

2006-11-05  Arnaud Charlet  <charlet@adacore.com>

        * s-osinte-linux-alpha.ads, s-osinte-linux-hppa.ads
        (To_Target_Priority): New function.
        Fix PR ada/29707

Index: s-osinte-linux-alpha.ads
===================================================================
--- s-osinte-linux-alpha.ads	(revision 118495)
+++ s-osinte-linux-alpha.ads	(working copy)
@@ -246,6 +246,10 @@ package System.OS_Interface is
    SCHED_FIFO  : constant := 1;
    SCHED_RR    : constant := 2;
 
+   function To_Target_Priority
+     (Prio : System.Any_Priority) return Interfaces.C.int;
+   --  Maps System.Any_Priority to a POSIX priority.
+
    -------------
    -- Process --
    -------------
Index: s-osinte-linux-hppa.ads
===================================================================
--- s-osinte-linux-hppa.ads	(revision 118495)
+++ s-osinte-linux-hppa.ads	(working copy)
@@ -253,6 +253,10 @@ package System.OS_Interface is
    SCHED_FIFO  : constant := 1;
    SCHED_RR    : constant := 2;
 
+   function To_Target_Priority
+     (Prio : System.Any_Priority) return Interfaces.C.int;
+   --  Maps System.Any_Priority to a POSIX priority.
+
    -------------
    -- Process --
    -------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]