From: Volker Lendecke Date: Sun, 18 Oct 2020 20:42:39 +0000 (+0200) Subject: libsmb: Use "struct" in self-references X-Git-Tag: talloc-2.3.2~209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a61f0eb2b5e9ed3f589eb8a35562036888ca00e;p=thirdparty%2Fsamba.git libsmb: Use "struct" in self-references Don't go via the typedefs for next and prev pointers Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index ba9936a0eba..8ab427a9f63 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -81,7 +81,7 @@ struct _SMBCSRV { struct policy_handle pol; time_t last_echo_time; - SMBCSRV *next, *prev; + struct _SMBCSRV *next, *prev; }; /* @@ -116,7 +116,7 @@ struct _SMBCFILE { struct smbc_dirplus_list *dirplus_list, *dirplus_end, *dirplus_next; int dir_type, dir_error; - SMBCFILE *next, *prev; + struct _SMBCFILE *next, *prev; };