diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 16:30:31 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:20 +0800 |
commit | 3e20c442de30c583b1728500c782641f88dedbfa (patch) | |
tree | cd4fcdf5ab851bde43daea855e58d49db5598dde /packet.h | |
parent | af87369cb32d4e967c389cce35f508817682f077 (diff) |
fix empty C prototypes
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -30,19 +30,19 @@ #include "queue.h" #include "buffer.h" -void write_packet(); -void read_packet(); -void decrypt_packet(); -void encrypt_packet(); +void write_packet(void); +void read_packet(void); +void decrypt_packet(void); +void encrypt_packet(void); void writebuf_enqueue(buffer * writebuf, unsigned char packet_type); -void process_packet(); +void process_packet(void); -void maybe_flush_reply_queue(); +void maybe_flush_reply_queue(void); typedef struct PacketType { unsigned char type; /* SSH_MSG_FOO */ - void (*handler)(); + void (*handler)(void); } packettype; #define PACKET_PADDING_OFF 4 |