Removed warnings.

This commit is contained in:
Joel Sherrill
1997-11-18 22:32:38 +00:00
parent 405829bdbf
commit ce41c5bb62
2 changed files with 6 additions and 1 deletions

View File

@@ -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>

View File

@@ -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;