From 224ea7b0815187d2a638808e8a50fb29fda832f6 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 18 Dec 2012 21:00:44 +0100 Subject: Convert type names to _t convention --- src/packet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/packet.h') diff --git a/src/packet.h b/src/packet.h index 16c37ce..099f855 100644 --- a/src/packet.h +++ b/src/packet.h @@ -33,16 +33,16 @@ #define PACKET_TYPE_LEN 1 -typedef enum _fastd_packet_type { +typedef enum fastd_packet_type { PACKET_UNKNOWN = 0, PACKET_HANDSHAKE, PACKET_DATA, -} fastd_packet_type; +} fastd_packet_type_t; -typedef struct __attribute__ ((__packed__)) _fastd_packet { +typedef struct __attribute__ ((__packed__)) fastd_packet { uint8_t rsv1; uint16_t rsv2; uint8_t tlv_data[]; -} fastd_packet; +} fastd_packet_t; #endif /* _FASTD_PACKET_H_ */ -- cgit v1.2.3