From 22bb1b61cb4efe0c0dbe41057aac83bb5cffb5d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Jan 2016 12:11:47 -0600 Subject: posix/src/exec*: Remove all variants already in Newlib The RTEMS build of Newlib includes implementations of all exec*() variants. They rely on the _execve() support method. RTEMS already had this and it returned ENOSYS. There is no functional change. closes #2537. --- cpukit/posix/src/execle.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 cpukit/posix/src/execle.c (limited to 'cpukit/posix/src/execle.c') diff --git a/cpukit/posix/src/execle.c b/cpukit/posix/src/execle.c deleted file mode 100644 index ae4b13deb7..0000000000 --- a/cpukit/posix/src/execle.c +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @file - * - * @brief Execute a File - * @ingroup POSIXAPI - */ - -/* - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#ifndef HAVE_EXECLE - -#include -#include - -int execle( - const char *path, - char const *arg, - ... -) -{ - rtems_set_errno_and_return_minus_one( ENOSYS ); -} - -#endif -- cgit v1.2.3