2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>

* support/src/test_support.c: Add missing prototypes.
This commit is contained in:
Ralf Corsepius
2009-10-26 05:30:29 +00:00
parent 7eb9ea679d
commit a00d2e5f2a
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/test_support.c: Add missing prototypes.
* support/include/tmacros.h: Include <inttypes.h>. * support/include/tmacros.h: Include <inttypes.h>.
Move extern "C". Move extern "C".
Let put_name use "int" instead "uint32_t" (Arg to putchar must be int). Let put_name use "int" instead "uint32_t" (Arg to putchar must be int).

View File

@@ -22,7 +22,7 @@
static char Too_Long_Name[PATH_MAX + 2]; static char Too_Long_Name[PATH_MAX + 2];
static char Longest_Name[PATH_MAX + 1]; static char Longest_Name[PATH_MAX + 1];
const char *Get_Too_Long_Name() const char *Get_Too_Long_Name(void)
{ {
int i; int i;
@@ -32,7 +32,7 @@ const char *Get_Too_Long_Name()
return Too_Long_Name; return Too_Long_Name;
} }
const char *Get_Longest_Name() const char *Get_Longest_Name(void)
{ {
int i; int i;