summaryrefslogtreecommitdiff
path: root/gcc/ada/s-interr-dummy.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-interr-dummy.adb')
-rw-r--r--gcc/ada/s-interr-dummy.adb8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ada/s-interr-dummy.adb b/gcc/ada/s-interr-dummy.adb
index c0876b8ee58..075c8b5755c 100644
--- a/gcc/ada/s-interr-dummy.adb
+++ b/gcc/ada/s-interr-dummy.adb
@@ -7,7 +7,7 @@
-- B o d y --
-- --
-- Copyright (C) 1991-1994, Florida State University --
--- Copyright (C) 1995-2005, AdaCore --
+-- Copyright (C) 1995-2007, AdaCore --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -34,8 +34,6 @@
-- This version is for systems that do not support interrupts (or signals)
-with Ada.Exceptions;
-
package body System.Interrupts is
pragma Warnings (Off); -- kill warnings on unreferenced formals
@@ -293,9 +291,7 @@ package body System.Interrupts is
procedure Unimplemented is
begin
- Ada.Exceptions.Raise_Exception
- (Program_Error'Identity, "interrupts/signals not implemented");
- raise Program_Error;
+ raise Program_Error with "interrupts/signals not implemented";
end Unimplemented;
end System.Interrupts;