summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/support
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-14 21:17:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-14 21:17:59 +0000
commit110e1f1dfe9843b03cb167de8de00827fc49c40e (patch)
tree6119455c56218bbe0cd0889620f6165f0071230d /c/src/ada-tests/support
parent2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-110e1f1dfe9843b03cb167de8de00827fc49c40e.tar.bz2
2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* samples/base_sp/sptest.adb, samples/hello/sptest.adb, samples/nsecs/sptest.adb, samples/ticker/sptest.adb, sptests/sp01/sptest.adb, sptests/sp02/sptest.adb, sptests/sp03/sptest.adb, sptests/sp04/sptest.adb, sptests/sp05/sptest.adb, sptests/sp06/sptest.adb, sptests/sp07/sptest.adb, sptests/sp08/sptest.adb, sptests/sp09/sptest.adb, sptests/sp11/sptest.adb, sptests/sp12/sptest.adb, sptests/sp13/sptest.adb, sptests/sp14/sptest.adb, sptests/sp15/sptest.adb, sptests/sp16/sptest.adb, sptests/sp17/sptest.adb, sptests/sp19/sptest.adp, sptests/sp20/sptest.adb, sptests/sp22/sptest.adb, sptests/sp23/sptest.adb, sptests/sp24/sptest.adb, sptests/sp25/sptest.adb, sptests/spname01/spname01.adb, sptests/spname01/sptest.adb, sptests/spname01/sptest.ads, support/address_io.adb, support/init.c, support/test_support.adb, support/test_support.ads, support/time_test_support.adb, support/timer_driver.adb, tmtests/tm01/tmtest.adb, tmtests/tm01/tmtest.ads, tmtests/tm02/tmtest.adb, tmtests/tm02/tmtest.ads, tmtests/tm03/tmtest.adb, tmtests/tm03/tmtest.ads, tmtests/tm04/tmtest.adb, tmtests/tm04/tmtest.ads, tmtests/tm05/tmtest.adb, tmtests/tm05/tmtest.ads, tmtests/tm06/tmtest.adb, tmtests/tm06/tmtest.ads, tmtests/tm07/tmtest.adb, tmtests/tm07/tmtest.ads, tmtests/tm08/tmtest.adb, tmtests/tm08/tmtest.ads, tmtests/tm09/tmtest.adb, tmtests/tm09/tmtest.ads, tmtests/tm10/tmtest.adb, tmtests/tm10/tmtest.ads, tmtests/tm11/tmtest.adb, tmtests/tm11/tmtest.ads, tmtests/tm12/tmtest.adb, tmtests/tm12/tmtest.ads, tmtests/tm13/tmtest.adb, tmtests/tm13/tmtest.ads, tmtests/tm14/tmtest.adb, tmtests/tm14/tmtest.ads, tmtests/tm15/tmtest.adb, tmtests/tm15/tmtest.ads, tmtests/tm16/tmtest.adb, tmtests/tm16/tmtest.ads, tmtests/tm17/tmtest.adb, tmtests/tm17/tmtest.ads, tmtests/tm18/tmtest.adb, tmtests/tm18/tmtest.ads, tmtests/tm19/tmtest.adb, tmtests/tm19/tmtest.ads, tmtests/tm20/tmtest.adb, tmtests/tm20/tmtest.ads, tmtests/tm21/tmtest.adb, tmtests/tm21/tmtest.ads, tmtests/tm22/tmtest.adb, tmtests/tm22/tmtest.ads, tmtests/tm23/tmtest.adb, tmtests/tm23/tmtest.ads, tmtests/tm24/tmtest.adb, tmtests/tm24/tmtest.ads, tmtests/tm25/tmtest.adb, tmtests/tm25/tmtest.ads, tmtests/tm28/tmtest.adb, tmtests/tm28/tmtest.ads, tmtests/tm29/tmtest.adb, tmtests/tm29/tmtest.ads, tmtests/tmck/tmtest.adb, tmtests/tmck/tmtest.ads, tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/tmtest.adb, tmtests/tmoverhd/tmtest.ads: Remove many warnings.
Diffstat (limited to 'c/src/ada-tests/support')
-rw-r--r--c/src/ada-tests/support/address_io.adb3
-rw-r--r--c/src/ada-tests/support/init.c7
-rw-r--r--c/src/ada-tests/support/test_support.adb5
-rw-r--r--c/src/ada-tests/support/test_support.ads4
-rw-r--r--c/src/ada-tests/support/time_test_support.adb3
-rw-r--r--c/src/ada-tests/support/timer_driver.adb5
6 files changed, 12 insertions, 15 deletions
diff --git a/c/src/ada-tests/support/address_io.adb b/c/src/ada-tests/support/address_io.adb
index 2240680378..5e01d24a76 100644
--- a/c/src/ada-tests/support/address_io.adb
+++ b/c/src/ada-tests/support/address_io.adb
@@ -10,7 +10,7 @@
--
--
--
--- COPYRIGHT (c) 1989-1997.
+-- COPYRIGHT (c) 1989-2009.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
@@ -20,7 +20,6 @@
-- $Id$
--
-with System;
with System.Storage_Elements;
with Text_IO;
diff --git a/c/src/ada-tests/support/init.c b/c/src/ada-tests/support/init.c
index 729079bd83..9687612f9a 100644
--- a/c/src/ada-tests/support/init.c
+++ b/c/src/ada-tests/support/init.c
@@ -9,12 +9,15 @@
#include <bsp.h>
#include <stdlib.h>
+/*
+ * This is the entry point automatically generated by GNAT.
+ */
+extern int gnat_main ( int argc, char **argv, char **envp );
+
void *POSIX_Init(
void *argument
)
{
- extern int gnat_main ( int argc, char **argv, char **envp );
-
(void) gnat_main ( 0, 0, 0 );
exit( 0 );
diff --git a/c/src/ada-tests/support/test_support.adb b/c/src/ada-tests/support/test_support.adb
index a5eb073d43..78920767dd 100644
--- a/c/src/ada-tests/support/test_support.adb
+++ b/c/src/ada-tests/support/test_support.adb
@@ -10,7 +10,7 @@
--
--
--
--- COPYRIGHT (c) 1989-2007.
+-- COPYRIGHT (c) 1989-2009.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
@@ -21,7 +21,6 @@
--
with Interfaces; use Interfaces;
-with RTEMS;
with Unsigned32_IO;
with Status_IO;
with Text_IO;
@@ -190,7 +189,7 @@ package body Test_Support is
Text_IO.Put( C3 );
Text_IO.Put( C4 );
- if New_Line = True then
+ if New_Line then
Text_IO.New_Line;
end if;
diff --git a/c/src/ada-tests/support/test_support.ads b/c/src/ada-tests/support/test_support.ads
index d063a7b28d..c4eb9d3c72 100644
--- a/c/src/ada-tests/support/test_support.ads
+++ b/c/src/ada-tests/support/test_support.ads
@@ -10,7 +10,7 @@
--
--
--
--- COPYRIGHT (c) 1989-2007.
+-- COPYRIGHT (c) 1989-2009.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
@@ -20,9 +20,7 @@
-- $Id$
--
-with Interfaces; use Interfaces;
with RTEMS;
-with Text_IO;
package Test_Support is
diff --git a/c/src/ada-tests/support/time_test_support.adb b/c/src/ada-tests/support/time_test_support.adb
index eebe88cefa..449704d4d6 100644
--- a/c/src/ada-tests/support/time_test_support.adb
+++ b/c/src/ada-tests/support/time_test_support.adb
@@ -10,7 +10,7 @@
--
--
--
--- COPYRIGHT (c) 1989-1997.
+-- COPYRIGHT (c) 1989-2009.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
@@ -21,7 +21,6 @@
--
with INTERFACES; use INTERFACES;
-with RTEMS;
with TEXT_IO;
with UNSIGNED32_IO;
diff --git a/c/src/ada-tests/support/timer_driver.adb b/c/src/ada-tests/support/timer_driver.adb
index f2a2144a3b..2357b697e8 100644
--- a/c/src/ada-tests/support/timer_driver.adb
+++ b/c/src/ada-tests/support/timer_driver.adb
@@ -9,7 +9,7 @@
--
--
--
--- COPYRIGHT (c) 1989-1997.
+-- COPYRIGHT (c) 1989-2009.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
@@ -19,8 +19,7 @@
-- $Id$
--
-with RTEMS;
-with Interfaces.C;
+with Interfaces;
package body Timer_Driver is