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