summaryrefslogtreecommitdiffstats
path: root/cpukit/ada/rtems.adb
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-30 12:07:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-30 12:07:54 +0000
commit182e9f8e3d5d1aff3f399327456a1b219fd20453 (patch)
tree5563165981c7ebc8c14c8ce78cae0144313a5af7 /cpukit/ada/rtems.adb
parent2002-08-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-182e9f8e3d5d1aff3f399327456a1b219fd20453.tar.bz2
2002-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems.adb (IO_Initialize): Make this match the C prototype.
Diffstat (limited to '')
-rw-r--r--cpukit/ada/rtems.adb13
1 files changed, 2 insertions, 11 deletions
diff --git a/cpukit/ada/rtems.adb b/cpukit/ada/rtems.adb
index 801150e4c1..e7e448ac02 100644
--- a/cpukit/ada/rtems.adb
+++ b/cpukit/ada/rtems.adb
@@ -1615,26 +1615,17 @@ package body RTEMS is
Major : in RTEMS.Device_Major_Number;
Minor : in RTEMS.Device_Minor_Number;
Argument : in RTEMS.Address;
- Return_Value : out RTEMS.Unsigned32;
Result : out RTEMS.Status_Codes
) is
function IO_Initialize_Base (
Major : RTEMS.Device_Major_Number;
Minor : RTEMS.Device_Minor_Number;
- Argument : RTEMS.Address;
- Return_Value : access RTEMS.Unsigned32
+ Argument : RTEMS.Address
) return RTEMS.Status_Codes;
pragma Import (C, IO_Initialize_Base, "rtems_io_initialize");
- Return_Value_Base : aliased RTEMS.Unsigned32 := Return_Value;
begin
- Result := IO_Initialize_Base (
- Major,
- Minor,
- Argument,
- Return_Value_Base'Unchecked_Access
- );
- Return_Value := Return_Value_Base;
+ Result := IO_Initialize_Base ( Major, Minor, Argument );
end IO_Initialize;