summaryrefslogtreecommitdiffhomepage
path: root/packet.h
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 16:30:31 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:20 +0800
commit3e20c442de30c583b1728500c782641f88dedbfa (patch)
treecd4fcdf5ab851bde43daea855e58d49db5598dde /packet.h
parentaf87369cb32d4e967c389cce35f508817682f077 (diff)
fix empty C prototypes
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/packet.h b/packet.h
index 6013b72..0942914 100644
--- a/packet.h
+++ b/packet.h
@@ -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