_execve.c: Fix missing prototype warnings

This commit is contained in:
Joel Sherrill
2013-09-22 10:02:18 -05:00
parent 137f947bc1
commit a85a55263b

View File

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