From 43ba2cb933a5af68f8aaef76fd45df0cd8a2976b Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 6 Apr 2020 10:42:41 +0200 Subject: [PATCH] shared/strbuf: allow forward declaring "struct _NMStrBuf" --- shared/nm-glib-aux/nm-str-buf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/nm-glib-aux/nm-str-buf.h b/shared/nm-glib-aux/nm-str-buf.h index f3cd7dba48..afbb001ca1 100644 --- a/shared/nm-glib-aux/nm-str-buf.h +++ b/shared/nm-glib-aux/nm-str-buf.h @@ -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;