]> mj.ucw.cz Git - libucw.git/commitdiff
Define the buffer type as both a typedef and a structure.
authorMartin Mares <mj@ucw.cz>
Thu, 14 Sep 2006 11:43:49 +0000 (13:43 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 14 Sep 2006 11:43:49 +0000 (13:43 +0200)
lib/gbuf.h

index f0e618bf616d40e7a688b58461cb67d05fe28bc0..daf0bfbb6b74be7729c3aa34b56e31d46cae1772 100644 (file)
@@ -16,7 +16,7 @@
 
 #define        BUF_T   GBUF_PREFIX(t)
 
-typedef struct
+typedef struct BUF_T
 {
   uns len;
   GBUF_TYPE *ptr;