diff options
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,7 +13,7 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: packet.h,v 1.7 1999/11/25 00:54:59 damien Exp $"); */ | 16 | /* RCSID("$Id: packet.h,v 1.8 1999/12/27 12:54:55 damien Exp $"); */ |
17 | 17 | ||
18 | #ifndef PACKET_H | 18 | #ifndef PACKET_H |
19 | #define PACKET_H | 19 | #define PACKET_H |
@@ -151,7 +151,7 @@ char *packet_get_string(unsigned int *length_ptr); | |||
151 | * The error message should not contain a newline. The total length of the | 151 | * The error message should not contain a newline. The total length of the |
152 | * message must not exceed 1024 bytes. | 152 | * message must not exceed 1024 bytes. |
153 | */ | 153 | */ |
154 | void packet_disconnect(const char *fmt,...); | 154 | void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));; |
155 | 155 | ||
156 | /* | 156 | /* |
157 | * Sends a diagnostic message to the other side. This message can be sent at | 157 | * Sends a diagnostic message to the other side. This message can be sent at |
@@ -163,7 +163,7 @@ void packet_disconnect(const char *fmt,...); | |||
163 | * remote side protocol flags do not indicate that it supports SSH_MSG_DEBUG, | 163 | * remote side protocol flags do not indicate that it supports SSH_MSG_DEBUG, |
164 | * this will do nothing. | 164 | * this will do nothing. |
165 | */ | 165 | */ |
166 | void packet_send_debug(const char *fmt,...); | 166 | void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));; |
167 | 167 | ||
168 | /* Checks if there is any buffered output, and tries to write some of the output. */ | 168 | /* Checks if there is any buffered output, and tries to write some of the output. */ |
169 | void packet_write_poll(void); | 169 | void packet_write_poll(void); |