summaryrefslogtreecommitdiff
path: root/mux.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-06-06 08:11:40 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-06-06 08:11:40 +1000
commitea8342c248ad6c0a4fe1a70de133f954973bd2b2 (patch)
treecb631673729078e481759f3df99c41d3b34122ca /mux.c
parent5d12b8f05d79ba89d0807910a664fa80f6f3bf8c (diff)
- dtucker@cvs.openbsd.org 2013/06/02 23:36:29
[clientloop.h clientloop.c mux.c] No need for the mux cleanup callback to be visible so restore it to static and call it through the detach_user function pointer. ok djm@
Diffstat (limited to 'mux.c')
-rw-r--r--mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mux.c b/mux.c
index 6c55db981..31566be21 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.41 2013/05/17 00:13:13 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.42 2013/06/02 23:36:29 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -184,7 +184,7 @@ static const struct {
184 184
185/* Cleanup callback fired on closure of mux slave _session_ channel */ 185/* Cleanup callback fired on closure of mux slave _session_ channel */
186/* ARGSUSED */ 186/* ARGSUSED */
187void 187static void
188mux_master_session_cleanup_cb(int cid, void *unused) 188mux_master_session_cleanup_cb(int cid, void *unused)
189{ 189{
190 Channel *cc, *c = channel_by_id(cid); 190 Channel *cc, *c = channel_by_id(cid);