Fixed missing __UNCONST macro definition in previous patch.
This commit is contained in:
		
							parent
							
								
									8dfc7699a6
								
							
						
					
					
						commit
						2ff73172b4
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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); */
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -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); */
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user