summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-24 22:34:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-24 22:34:22 +0000
commit698b292f610f4b1963c3ad2f7d64e1bf3017d14b (patch)
tree74fb730c74f55b82f7f5b528106386da8f2bb389
parent7265f3ab8fb5b73b1cfd4023b784a7763e6e4641 (diff)
downloadrtems-698b292f610f4b1963c3ad2f7d64e1bf3017d14b.tar.bz2
2002-10-24 Joel Sherrill <joel@OARcorp.com>
* samples/hello/config.h: Change CONFIGURE_SPTEST to CONFIGURE_APPLICATION to reflect current usage. * support/init.c: Include stdlib.h not unistd.h to remove warning.
-rw-r--r--c/src/ada-tests/ChangeLog6
-rw-r--r--c/src/ada-tests/samples/hello/config.h4
-rw-r--r--c/src/ada-tests/support/init.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/c/src/ada-tests/ChangeLog b/c/src/ada-tests/ChangeLog
index 818b559dc5..b9e29c46eb 100644
--- a/c/src/ada-tests/ChangeLog
+++ b/c/src/ada-tests/ChangeLog
@@ -1,3 +1,9 @@
+2002-10-24 Joel Sherrill <joel@OARcorp.com>
+
+ * samples/hello/config.h: Change CONFIGURE_SPTEST to
+ CONFIGURE_APPLICATION to reflect current usage.
+ * support/init.c: Include stdlib.h not unistd.h to remove warning.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/ada-tests/samples/hello/config.h b/c/src/ada-tests/samples/hello/config.h
index 32dae5a93d..ee19e526c0 100644
--- a/c/src/ada-tests/samples/hello/config.h
+++ b/c/src/ada-tests/samples/hello/config.h
@@ -16,12 +16,14 @@
/* configuration information */
-#define CONFIGURE_SPTEST
+#define CONFIGURE_APPLICATION
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+#define CONFIGURE_MAXIMUM_TASKS 2
+
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
diff --git a/c/src/ada-tests/support/init.c b/c/src/ada-tests/support/init.c
index b85635faa0..eb5aeffd73 100644
--- a/c/src/ada-tests/support/init.c
+++ b/c/src/ada-tests/support/init.c
@@ -12,7 +12,7 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <bsp.h>
-#include <unistd.h>
+#include <stdlib.h>
void *POSIX_Init(
void *argument