aboutsummaryrefslogtreecommitdiff
path: root/server-fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/server-fn.c b/server-fn.c
index c14b4cab..9d7702a7 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -33,24 +33,6 @@ static void server_callback_identify(int, short, void *);
static void server_destroy_session_group(struct session *);
void
-server_fill_environ(struct session *s, struct environ *env)
-{
- const char *term;
- u_int idx;
- long pid;
-
- if (s != NULL) {
- term = options_get_string(global_options, "default-terminal");
- environ_set(env, "TERM", "%s", term);
-
- idx = s->id;
- } else
- idx = (u_int)-1;
- pid = getpid();
- environ_set(env, "TMUX", "%s,%ld,%u", socket_path, pid, idx);
-}
-
-void
server_redraw_client(struct client *c)
{
c->flags |= CLIENT_REDRAW;