forked from Imagelibrary/rtems
Removed warnings.
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
/* for sbrk prototype in linux */
|
||||
#if defined(linux)
|
||||
#define __USE_MISC
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
#include <bsp.h>
|
||||
|
||||
@@ -82,7 +82,7 @@ extern "C" {
|
||||
int
|
||||
main(int argc,
|
||||
char **argv,
|
||||
char **environp)
|
||||
char ** /* environp is unused */)
|
||||
{
|
||||
rtems_argc = argc;
|
||||
rtems_argv = argv;
|
||||
|
||||
Reference in New Issue
Block a user