A bit of cleanup of the array API.
[apps/pfixtools.git] / common / buffer.h
index c3e1adf..b4e5baa 100644 (file)
@@ -43,7 +43,7 @@
 
 typedef A(char) buffer_t;
 
-#define BUFFER_INIT {NULL, 0, 0}
+#define BUFFER_INIT ARRAY_INIT
 
 DO_INIT(buffer_t, buffer);
 static inline void buffer_wipe(buffer_t *buf) {