Skip to content
Snippets Groups Projects
Commit a101bcc6 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

pkt: fix redefinition of typedef knot_pkt_t

parent 74264be0
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -64,7 +64,7 @@ typedef struct {
/*!
* \brief Structure representing a DNS packet.
*/
typedef struct knot_pkt {
struct knot_pkt {
uint8_t *wire; /*!< Wire format of the packet. */
size_t size; /*!< Current wire size of the packet. */
......@@ -94,7 +94,7 @@ typedef struct knot_pkt {
knot_rrset_t *rr;
knot_mm_t mm; /*!< Memory allocation context. */
} knot_pkt_t;
};
/*!
* \brief Create new packet over existing memory, or allocate new from memory context.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment