diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-13 10:49:25 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-13 10:49:25 +0000 |
commit | 9c2d082ba9385c01712b271d67c4ff3f2f3224ad (patch) | |
tree | 5374591bf8e63de8fef25534525798df8425274c /testsuites/libtests/complex | |
parent | 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-9c2d082ba9385c01712b271d67c4ff3f2f3224ad.tar.bz2 |
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.
Diffstat (limited to 'testsuites/libtests/complex')
-rw-r--r-- | testsuites/libtests/complex/docomplex.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/complex/docomplexf.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/complex/docomplexl.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/complex/init.c | 28 |
4 files changed, 22 insertions, 18 deletions
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 |