From: Martin Mares Date: Thu, 14 Sep 2006 11:43:49 +0000 (+0200) Subject: Define the buffer type as both a typedef and a structure. X-Git-Tag: holmes-import~512^2~5 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=371197fa41b47790feef4e7f97a85d066439ae50;p=libucw.git Define the buffer type as both a typedef and a structure. --- 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;