forked from Imagelibrary/rtems
_execve.c: Fix missing prototype warnings
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2013.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -18,8 +18,14 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Needed to get the prototype for this newlib helper method
|
||||||
|
*/
|
||||||
|
#define _COMPILING_NEWLIB
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <rtems/seterr.h>
|
#include <rtems/seterr.h>
|
||||||
|
#include <sys/unistd.h>
|
||||||
|
|
||||||
int _execve(
|
int _execve(
|
||||||
const char *path __attribute__((unused)),
|
const char *path __attribute__((unused)),
|
||||||
|
|||||||
Reference in New Issue
Block a user