diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-12-06 17:52:01 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-12-06 17:52:01 +0000 |
commit | cdaa2de87e3282eda938cb4a85d4de3200a166be (patch) | |
tree | 83cec13d57db85b6c8a8db87ff6391b6e91d92d4 | |
parent | 2ff3551a477fcad307baf808991472954ca0edc6 (diff) |
Notes
-rw-r--r-- | lib/libproc/proc_create.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libproc/proc_create.c b/lib/libproc/proc_create.c index 72e3a087b774..4c24988f630e 100644 --- a/lib/libproc/proc_create.c +++ b/lib/libproc/proc_create.c @@ -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; |