1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

packet: Make default_packet_handlers static.

Fixes sparse warnings.
This commit is contained in:
Andreas Schneider
2012-02-18 12:19:48 +01:00
parent 66aaa6f573
commit 3888a050f8
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
#define MACSIZE SHA_DIGEST_LEN
ssh_packet_callback default_packet_handlers[]= {
static ssh_packet_callback default_packet_handlers[]= {
ssh_packet_disconnect_callback, // SSH2_MSG_DISCONNECT 1
ssh_packet_ignore_callback, // SSH2_MSG_IGNORE 2
ssh_packet_unimplemented, // SSH2_MSG_UNIMPLEMENTED 3