shared/strbuf: allow forward declaring "struct _NMStrBuf"

This commit is contained in:
Thomas Haller 2020-04-06 10:42:41 +02:00
parent abacc1e919
commit 43ba2cb933

View file

@ -10,7 +10,7 @@
/* NMStrBuf is not unlike GString. The main difference is that it can use
* nm_explicit_bzero() when growing the buffer. */
typedef struct {
typedef struct _NMStrBuf {
char *_str;
union {
const gsize len;