src/network/core/packet.h
branchcpp_gui
changeset 6298 c30fe89622df
parent 6268 4b5241e5dd10
--- a/src/network/core/packet.h	Sat Mar 10 11:07:13 2007 +0000
+++ b/src/network/core/packet.h	Sun Mar 11 16:31:18 2007 +0000
@@ -43,7 +43,7 @@
 	Packet(PacketType type);
 
 	/* Sending/writing of packets */
-	void PrepareToSend(void);
+	void PrepareToSend();
 
 	void Send_bool  (bool   data);
 	void Send_uint8 (uint8  data);
@@ -53,15 +53,15 @@
 	void Send_string(const char* data);
 
 	/* Reading/receiving of packets */
-	void ReadRawPacketSize(void);
-	void PrepareToRead(void);
+	void ReadRawPacketSize();
+	void PrepareToRead();
 
 	bool   CanReadFromPacket (uint bytes_to_read);
-	bool   Recv_bool  (void);
-	uint8  Recv_uint8 (void);
-	uint16 Recv_uint16(void);
-	uint32 Recv_uint32(void);
-	uint64 Recv_uint64(void);
+	bool   Recv_bool  ();
+	uint8  Recv_uint8 ();
+	uint16 Recv_uint16();
+	uint32 Recv_uint32();
+	uint64 Recv_uint64();
 	void   Recv_string(char* buffer, size_t size);
 };