summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spsize
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spsize')
-rw-r--r--testsuites/sptests/spsize/getint.c4
-rw-r--r--testsuites/sptests/spsize/size.c12
2 files changed, 9 insertions, 7 deletions
diff --git a/testsuites/sptests/spsize/getint.c b/testsuites/sptests/spsize/getint.c
index f6f5f61f16..0bf9215670 100644
--- a/testsuites/sptests/spsize/getint.c
+++ b/testsuites/sptests/spsize/getint.c
@@ -8,7 +8,7 @@
* Output parameters:
* returns - number read
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -22,6 +22,8 @@
#include <stdio.h>
#include <stdlib.h>
+int getint( void );
+
int getint( void )
{
char buff[16];
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index fc02005664..ce0026b514 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -1,9 +1,8 @@
-/* main
- *
+/*
* This program is run to determine the data space and work space
* requirements of the current version of RTEMS.
*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -52,6 +51,10 @@
/* external function prototypes */
int getint( void );
+void size_rtems(int mode);
+void help_size(void);
+void print_formula(void);
+
/* These are always defined by the executive.
*
@@ -134,9 +137,6 @@ extern CORE_semaphore_Control _MPCI_Semaphore;
uint32_t sys_req;
-void help_size();
-void print_formula();
-
void size_rtems(
int mode
)