]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- markus@cvs.openbsd.org 2012/01/25 19:40:09
authorDamien Miller <djm@mindrot.org>
Fri, 10 Feb 2012 21:19:21 +0000 (08:19 +1100)
committerDamien Miller <djm@mindrot.org>
Fri, 10 Feb 2012 21:19:21 +0000 (08:19 +1100)
     [packet.c packet.h]
     packet_read_poll() is not used anymore.

ChangeLog
packet.c
packet.h

index 2e5881af653ff729c51bc3963ae39a0abc15ac1f..3fc45168e3b74f2bbe1a68baad18f045f4fe3a56 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,9 @@
    - markus@cvs.openbsd.org 2012/01/25 19:36:31
      [authfile.c]
      memleak in key_load_file(); from Jan Klemkow
+   - markus@cvs.openbsd.org 2012/01/25 19:40:09
+     [packet.c packet.h]
+     packet_read_poll() is not used anymore.
 
 20120206
  - (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms
index 0d29efffd522846da7636a0d52f4166168a9d123..2f85232a645123043259dbcb49d8327a435cc97e 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.175 2012/01/25 19:26:43 markus Exp $ */
+/* $OpenBSD: packet.c,v 1.176 2012/01/25 19:40:09 markus Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1450,12 +1450,6 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
        }
 }
 
-int
-packet_read_poll(void)
-{
-       return packet_read_poll_seqnr(NULL);
-}
-
 /*
  * Buffers the given amount of input characters.  This is intended to be used
  * together with packet_read_poll.
index 90eec17a9bd82714d1fa9f447e9fd496868e466e..09ba079512a78966ea3b33c2f474204742769c2c 100644 (file)
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.56 2011/05/06 21:14:05 djm Exp $ */
+/* $OpenBSD: packet.h,v 1.57 2012/01/25 19:40:09 markus Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -55,7 +55,6 @@ void     packet_send(void);
 
 int      packet_read(void);
 void     packet_read_expect(int type);
-int      packet_read_poll(void);
 void     packet_process_incoming(const char *buf, u_int len);
 int      packet_read_seqnr(u_int32_t *seqnr_p);
 int      packet_read_poll_seqnr(u_int32_t *seqnr_p);