[openssh-commits] [openssh] 01/03: upstream: Delete unused accessor function
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Aug 29 13:58:46 AEST 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit ceca966bde4ab38b2434876416da12fe16747459
Author: job at openbsd.org <job at openbsd.org>
AuthorDate: Mon Aug 18 09:16:36 2025 +0000
upstream: Delete unused accessor function
OK dtucker@
OpenBSD-Commit-ID: 93b59ac088fb254e1189729ece5bb9656d6e810b
---
packet.c | 9 +--------
packet.h | 3 +--
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/packet.c b/packet.c
index 34bf91d75..6dfa7ac31 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.321 2025/08/18 04:50:35 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.322 2025/08/18 09:16:36 job Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2254,13 +2254,6 @@ ssh_packet_set_qos(struct ssh *ssh, int qos_interactive, int qos_other)
apply_qos(ssh);
}
-/* Returns true if the current connection is interactive. */
-int
-ssh_packet_is_interactive(struct ssh *ssh)
-{
- return ssh->state->interactive_mode;
-}
-
int
ssh_packet_set_maxsize(struct ssh *ssh, u_int s)
{
diff --git a/packet.h b/packet.h
index 6828476c7..ade3c0f9d 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.100 2025/08/18 03:43:01 djm Exp $ */
+/* $OpenBSD: packet.h,v 1.101 2025/08/18 09:16:36 job Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
@@ -112,7 +112,6 @@ void ssh_packet_set_protocol_flags(struct ssh *, u_int);
u_int ssh_packet_get_protocol_flags(struct ssh *);
void ssh_packet_set_tos(struct ssh *, int);
void ssh_packet_set_interactive(struct ssh *, int);
-int ssh_packet_is_interactive(struct ssh *);
void ssh_packet_set_qos(struct ssh *, int, int);
void ssh_packet_set_server(struct ssh *);
void ssh_packet_set_authenticated(struct ssh *);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list