summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-13 10:49:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-13 10:49:25 +0000
commit9c2d082ba9385c01712b271d67c4ff3f2f3224ad (patch)
tree5374591bf8e63de8fef25534525798df8425274c
parent5f818ec1bea09760250ef7caf9bebdc251dff330 (diff)
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* complex/init.c: Move configuration section. * complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c: Regenerate.
-rw-r--r--testsuites/libtests/ChangeLog3
-rw-r--r--testsuites/libtests/complex/docomplex.c4
-rw-r--r--testsuites/libtests/complex/docomplexf.c4
-rw-r--r--testsuites/libtests/complex/docomplexl.c4
-rw-r--r--testsuites/libtests/complex/init.c28
5 files changed, 25 insertions, 18 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog
index 5457479f88..91848d9506 100644
--- a/testsuites/libtests/ChangeLog
+++ b/testsuites/libtests/ChangeLog
@@ -1,5 +1,8 @@
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * complex/init.c: Move configuration section.
+ * complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
+ Regenerate.
* complex/docomplex.in: Generate prototype docomplex* prototype.
2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
diff --git a/testsuites/libtests/complex/docomplex.c b/testsuites/libtests/complex/docomplex.c
index 2a84a2954e..7a1b96135b 100644
--- a/testsuites/libtests/complex/docomplex.c
+++ b/testsuites/libtests/complex/docomplex.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
* Ralf Corsepius, Ulm/Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
#include <complex.h>
#include <stdio.h>
+extern void docomplex (void);
+
void
docomplex (void)
{
diff --git a/testsuites/libtests/complex/docomplexf.c b/testsuites/libtests/complex/docomplexf.c
index 765815fc72..ff2e73d3f6 100644
--- a/testsuites/libtests/complex/docomplexf.c
+++ b/testsuites/libtests/complex/docomplexf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
* Ralf Corsepius, Ulm/Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
#include <complex.h>
#include <stdio.h>
+extern void docomplexf (void);
+
void
docomplexf (void)
{
diff --git a/testsuites/libtests/complex/docomplexl.c b/testsuites/libtests/complex/docomplexl.c
index a6fe3b0dd0..f63d00ad30 100644
--- a/testsuites/libtests/complex/docomplexl.c
+++ b/testsuites/libtests/complex/docomplexl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
* Ralf Corsepius, Ulm/Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
#include <complex.h>
#include <stdio.h>
+extern void docomplexl (void);
+
void
docomplexl (void)
{
diff --git a/testsuites/libtests/complex/init.c b/testsuites/libtests/complex/init.c
index 01bf4b352a..a3e3937ad7 100644
--- a/testsuites/libtests/complex/init.c
+++ b/testsuites/libtests/complex/init.c
@@ -38,6 +38,19 @@ extern void docomplexl(void);
#endif
#if __rtems__
+/* NOTICE: the clock driver is explicitly disabled */
+#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
+
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
+
rtems_task Init(
rtems_task_argument ignored
)
@@ -55,18 +68,3 @@ int main( void )
fprintf( stdout, "*** END OF COMPLEX MATH TEST ***\n" );
exit( 0 );
}
-
-#if __rtems__
-/* NOTICE: the clock driver is explicitly disabled */
-#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
-
-#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
-
-#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
-#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-
-#define CONFIGURE_INIT
-#include <rtems/confdefs.h>
-#endif