summaryrefslogtreecommitdiff
path: root/pathexec_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathexec_run.c')
-rw-r--r--pathexec_run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pathexec_run.c b/pathexec_run.c
index 1770ac7..51f13ea 100644
--- a/pathexec_run.c
+++ b/pathexec_run.c
@@ -1,5 +1,6 @@
1/* Public domain. */ 1/* Public domain. */
2 2
3#include <unistd.h>
3#include "error.h" 4#include "error.h"
4#include "stralloc.h" 5#include "stralloc.h"
5#include "str.h" 6#include "str.h"
@@ -8,7 +9,7 @@
8 9
9static stralloc tmp; 10static stralloc tmp;
10 11
11void pathexec_run(const char *file,const char * const *argv,const char * const *envp) 12void pathexec_run(const char *file, char *const *argv, char *const *envp)
12{ 13{
13 const char *path; 14 const char *path;
14 unsigned int split; 15 unsigned int split;