summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-06 10:42:41 +0200
committerThomas Haller <thaller@redhat.com>2020-04-10 10:44:39 +0200
commit43ba2cb933a5af68f8aaef76fd45df0cd8a2976b (patch)
treeb257c149dec785a965f1eb24dd41554bc9feadab
parentabacc1e9192a29029c427bc0556be0c6fd996592 (diff)
downloadNetworkManager-43ba2cb933a5af68f8aaef76fd45df0cd8a2976b.tar.gz
shared/strbuf: allow forward declaring "struct _NMStrBuf"
-rw-r--r--shared/nm-glib-aux/nm-str-buf.h2
1 files changed, 1 insertions, 1 deletions
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;