mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 19:30:26 +08:00
Add prototypes.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user