mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-26 18:13:10 +01:00
Not const.
This commit is contained in:
parent
f1aa1ff57f
commit
a7f57773b7
5
client.c
5
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 <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;
|
||||
|
4
server.c
4
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 <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;
|
||||
|
6
tmux.h
6
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 <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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user