]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Use "struct" in self-references
authorVolker Lendecke <vl@samba.org>
Sun, 18 Oct 2020 20:42:39 +0000 (22:42 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 21 Oct 2020 19:04:38 +0000 (19:04 +0000)
Don't go via the typedefs for next and prev pointers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/libsmb_internal.h

index ba9936a0ebadfe4e737b7c8d227af06402020349..8ab427a9f63b52757f043cb8905b99820d709105 100644 (file)
@@ -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;
 };