diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-12 15:12:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-12 15:12:08 +0000 |
commit | 4309d65475d2b5ad4e00a9c590a2e97c1c90ca16 (patch) | |
tree | 29f1cf14959e783e68373dae70ff1e0f9170530b /tmux.h | |
parent | e4a6cdefda66dbc7b4cab944975e5d9053e3f862 (diff) | |
download | rtmux-4309d65475d2b5ad4e00a9c590a2e97c1c90ca16.tar.gz rtmux-4309d65475d2b5ad4e00a9c590a2e97c1c90ca16.tar.bz2 rtmux-4309d65475d2b5ad4e00a9c590a2e97c1c90ca16.zip |
realpath the socket path; also sprinkle some const.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.78 2007-11-12 14:21:41 nicm Exp $ */ +/* $Id: tmux.h,v 1.79 2007-11-12 15:12:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -595,7 +595,7 @@ extern const struct cmd_entry cmd_unlink_window_entry; void cmd_select_window_default(void **, int); /* client.c */ -int client_init(char *, struct client_ctx *, int); +int client_init(const char *, struct client_ctx *, int); int client_flush(struct client_ctx *); int client_main(struct client_ctx *); @@ -622,7 +622,7 @@ const char *key_string_lookup_key(int); /* server.c */ extern struct clients clients; -int server_start(char *); +int server_start(const char *); /* server-msg.c */ int server_msg_dispatch(struct client *); |