]> andersk Git - gssapi-openssh.git/commitdiff
make packet_get_all() function static in GSSAPI section of sshconnect1.c
authorjbasney <jbasney>
Thu, 4 Apr 2002 20:20:43 +0000 (20:20 +0000)
committerjbasney <jbasney>
Thu, 4 Apr 2002 20:20:43 +0000 (20:20 +0000)
(the only place it is needed) rather than exporting it from packet.c

openssh/packet.c
openssh/packet.h
openssh/sshconnect1.c

index b9e0de54aae302a59025e3f54fba9d3e38fe13f4..045d5a10556d7a8b8f840482f8800849c6bf5cab 100644 (file)
@@ -1040,13 +1040,6 @@ packet_get_string(u_int *length_ptr)
        return buffer_get_string(&incoming_packet, length_ptr);
 }
 
-/* Clears incoming data buffer */
-
-void packet_get_all(void)
-{
-  buffer_clear(&incoming_packet);
-}
-
 /*
  * Sends a diagnostic message from the server to the client.  This message
  * can be sent at any time (but not while constructing another message). The
index 12c2e0027b8483c104b3ed31e6fc780a57f847d1..d6bf2aab484f8cb173fc04a76ed30804358b3c7b 100644 (file)
@@ -53,7 +53,6 @@ void     packet_get_bignum(BIGNUM * value);
 void     packet_get_bignum2(BIGNUM * value);
 void   *packet_get_raw(int *length_ptr);
 void   *packet_get_string(u_int *length_ptr);
-void   packet_get_all(void);
 void     packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
 void     packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
 
index 255271fb21322b4b19ec120e22305a7413546b7f..b076accdb14d5c359b7a3749d0b26d91be7bf1b1 100644 (file)
@@ -964,6 +964,11 @@ try_password_authentication(char *prompt)
 
 gss_cred_id_t gss_cred = GSS_C_NO_CREDENTIAL;
 
+void packet_get_all(void)
+{
+  buffer_clear(&incoming_packet);
+}
+
 static void display_status_1(m, code, type)
  char *m;
  OM_uint32 code;
This page took 0.105725 seconds and 5 git commands to generate.