mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Use a global extern declaration to appease gcc.
Reported by: gjb X-MFC with: r326498
This commit is contained in:
parent
2ff3551a47
commit
cdaa2de87e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326626
@ -47,6 +47,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "_libproc.h"
|
||||
|
||||
extern char * const *environ;
|
||||
|
||||
static int getelfclass(int);
|
||||
static int proc_init(pid_t, int, int, struct proc_handle **);
|
||||
|
||||
@ -179,7 +181,6 @@ int
|
||||
proc_create(const char *file, char * const *argv, char * const *envp,
|
||||
proc_child_func *pcf, void *child_arg, struct proc_handle **pphdl)
|
||||
{
|
||||
extern char * const *environ;
|
||||
struct proc_handle *phdl;
|
||||
int error, status;
|
||||
pid_t pid;
|
||||
|
Loading…
Reference in New Issue
Block a user