Fixed missing __UNCONST macro definition in previous patch.

This commit is contained in:
Lorenzo Cavallaro 2010-03-30 13:08:14 +00:00
parent 8dfc7699a6
commit 2ff73172b4
3 changed files with 12 additions and 0 deletions

View file

@ -38,6 +38,10 @@
#include <alloca.h>
#include <lib.h>
#ifndef __UNCONST
#define __UNCONST(x) ((void *) (x))
#endif
extern char * const **_penviron; /* The default environment. */
int

View file

@ -38,6 +38,10 @@
#include <alloca.h>
#include <lib.h>
#ifndef __UNCONST
#define __UNCONST(x) ((void *) (x))
#endif
int execle(const char *path, const char *arg1, ...)
/* execle("/bin/sh", "sh", "-c", "example", (char *) 0, my_env_array); */
{

View file

@ -38,6 +38,10 @@
#include <alloca.h>
#include <lib.h>
#ifndef __UNCONST
#define __UNCONST(x) ((void *) (x))
#endif
int execlp(const char *file, const char *arg1, ...)
/* execlp("sh", "sh", "-c", "example", (char *) 0); */
{