From 90487ef50977756d337c65ab9c9b088048c77e66 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 16 Oct 2019 08:55:45 +0200 Subject: [PATCH] shared: allow "NMRefString" typedef to be forward declared by naming the struct --- shared/nm-glib-aux/nm-ref-string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/nm-glib-aux/nm-ref-string.h b/shared/nm-glib-aux/nm-ref-string.h index 2a0b072df8..b4652d8443 100644 --- a/shared/nm-glib-aux/nm-ref-string.h +++ b/shared/nm-glib-aux/nm-ref-string.h @@ -5,7 +5,7 @@ /*****************************************************************************/ -typedef struct { +typedef struct _NMRefString { const char *const str; const gsize len; } NMRefString;