aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-18 01:28:10 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-18 01:28:10 +0000
commit40b1d64ce77c532436c6769c65a2b98be56e91ad (patch)
treed8b2ed3827c037c7c98cf42e3e385f8188e882c7 /tmux.h
parent9b8fc982ec93096cd2cce3f755154359050a2afb (diff)
downloadrtmux-40b1d64ce77c532436c6769c65a2b98be56e91ad.tar.gz
rtmux-40b1d64ce77c532436c6769c65a2b98be56e91ad.tar.bz2
rtmux-40b1d64ce77c532436c6769c65a2b98be56e91ad.zip
Sync OpenBSD patchset 1043:
Use a lock file and flock() to serialize server start, avoids problems when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 4cadafeb..611cf5c3 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1683,7 +1683,7 @@ const char *key_string_lookup_key(int);
extern struct clients clients;
extern struct clients dead_clients;
extern struct paste_stack global_buffers;
-int server_start(void);
+int server_start(int, char *);
void server_update_socket(void);
/* server-client.c */