summaryrefslogtreecommitdiff
path: root/src/ratpoison.h
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-02-20 11:56:46 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-02-20 11:56:46 +0100
commitf5fc5561be15f1b353a29e99679783878ed7503f (patch)
tree14f0ca0b81c4cd37670da0b65b0e2692d8b8c5fd /src/ratpoison.h
parent15a8eaef00219421e4b9103ef974bc9ada2d0bca (diff)
downloadratpoison-f5fc5561be15f1b353a29e99679783878ed7503f.zip
Change set_close_on_exec to take a file descriptor.
* Since it's easier to get a fd from a FILE * rather than the other way around.
Diffstat (limited to 'src/ratpoison.h')
-rw-r--r--src/ratpoison.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ratpoison.h b/src/ratpoison.h
index 31c5512..2c829ef 100644
--- a/src/ratpoison.h
+++ b/src/ratpoison.h
@@ -84,7 +84,7 @@ extern XGCValues gv;
void clean_up (void);
rp_screen *find_screen (Window w);
-void set_close_on_exec (FILE *fd);
+void set_close_on_exec (int fd);
void read_rc_file (FILE *file);
void fatal (const char *msg);