summaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/nsxiv.h b/nsxiv.h
index 33a2bde..19e5399 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -326,17 +326,6 @@ typedef struct {
int stlen;
} r_dir_t;
-typedef struct {
- int readfd;
- int writefd;
- pid_t pid;
-} spawn_t;
-
-enum {
- X_READ = (1 << 0),
- X_WRITE = (1 << 1)
-};
-
extern const char *progname;
void* emalloc(size_t);
@@ -349,7 +338,7 @@ int r_closedir(r_dir_t*);
char* r_readdir(r_dir_t*, bool);
int r_mkdir(char*);
void construct_argv(char**, unsigned int, ...);
-spawn_t spawn(const char*, char *const [], unsigned int);
+pid_t spawn(int*, int*, char *const []);
/* window.c */