From 371197fa41b47790feef4e7f97a85d066439ae50 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 14 Sep 2006 13:43:49 +0200 Subject: [PATCH] Define the buffer type as both a typedef and a structure. --- lib/gbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gbuf.h b/lib/gbuf.h index f0e618bf..daf0bfbb 100644 --- a/lib/gbuf.h +++ b/lib/gbuf.h @@ -16,7 +16,7 @@ #define BUF_T GBUF_PREFIX(t) -typedef struct +typedef struct BUF_T { uns len; GBUF_TYPE *ptr; -- 2.39.2