diff --git a/client.c b/client.c index 23112fb1..23cf6ec6 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.44 2009-03-27 08:58:28 nicm Exp $ */ +/* $Id: client.c,v 1.45 2009-03-27 17:04:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -36,8 +36,7 @@ void client_handle_winch(struct client_ctx *); int -client_init( - const char *path, struct client_ctx *cctx, int start_server, int flags) +client_init(char *path, struct client_ctx *cctx, int start_server, int flags) { struct sockaddr_un sa; struct stat sb; diff --git a/server.c b/server.c index b14d6a9b..9493073e 100644 --- a/server.c +++ b/server.c @@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.128 2009-03-27 15:57:10 nicm Exp $ */ +/* $Id: server.c,v 1.129 2009-03-27 17:04:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -120,7 +120,7 @@ server_client_index(struct client *c) /* Fork new server. */ int -server_start(const char *path) +server_start(char *path) { struct sockaddr_un sa; size_t size; diff --git a/tmux.h b/tmux.h index b321dec4..1945b2b4 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.283 2009-03-27 16:44:51 nicm Exp $ */ +/* $Id: tmux.h,v 1.284 2009-03-27 17:04:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1272,7 +1272,7 @@ void cmd_pane_free(struct cmd *); size_t cmd_pane_print(struct cmd *, char *, size_t); /* client.c */ -int client_init(const char *, struct client_ctx *, int, int); +int client_init(char *, struct client_ctx *, int, int); int client_flush(struct client_ctx *); int client_main(struct client_ctx *); @@ -1307,7 +1307,7 @@ const char *key_string_lookup_key(int); extern struct clients clients; struct client *server_create_client(int); int server_client_index(struct client *); -int server_start(const char *); +int server_start(char *); /* server-msg.c */ int server_msg_dispatch(struct client *);