Add prototypes.

This commit is contained in:
Ralf Corsepius
2008-07-29 09:25:11 +00:00
parent 8d52ad5c20
commit df3021ad78
4 changed files with 7 additions and 8 deletions
@@ -39,7 +39,7 @@ extern void malloc_walk(size_t source, size_t printf_enabled);
extern void libc_init(int reentrant);
extern int host_errno(void);
extern void fix_syscall_errno(void);
extern size_t malloc_free_space();
extern size_t malloc_free_space(void);
/*
* Prototypes required to install newlib reentrancy user extension
+2 -2
View File
@@ -246,9 +246,9 @@ int rtems_filesystem_evaluate_parent(
rtems_filesystem_location_info_t *pathloc
);
void rtems_filesystem_initialize();
void rtems_filesystem_initialize(void);
int init_fs_mount_table();
int init_fs_mount_table(void);
#ifdef __cplusplus
}
@@ -23,7 +23,7 @@
#include <stdlib.h>
void rtems_malloc_statistics_initialize()
void rtems_malloc_statistics_initialize( void )
{
/*
* Zero all the statistics
@@ -73,4 +73,3 @@ rtems_malloc_statistics_functions_t rtems_malloc_statistics_helpers_table = {
};
#endif
+3 -3
View File
@@ -155,9 +155,9 @@ cleanup_and_bail:
* Alphabetic order comparison routine for those who want it.
*/
int
alphasort(d1, d2)
const void *d1;
const void *d2;
alphasort(
const void *d1,
const void *d2 )
{
return(strcmp((*(struct dirent **)d1)->d_name,
(*(struct dirent **)d2)->d_name));