diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-27 17:04:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-27 17:04:04 +0000 |
commit | a7f57773b7b3ec6ee1cb435fe393e0b87b6eb332 (patch) | |
tree | 81d3e31caf2b6f209291b0a5a4da63d71c4a4da7 | |
parent | f1aa1ff57fb1a724f6bb2037f816900bbdd4db71 (diff) |
Not const.
-rw-r--r-- | client.c | 5 | ||||
-rw-r--r-- | server.c | 4 | ||||
-rw-r--r-- | tmux.h | 6 |
3 files changed, 7 insertions, 8 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -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; @@ -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 <nicm@users.sourceforge.net> @@ -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; @@ -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 <nicm@users.sourceforge.net> @@ -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 *); |