1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

libsmb: Use "struct" in self-references

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>
This commit is contained in:
Volker Lendecke 2020-10-18 22:42:39 +02:00 committed by Jeremy Allison
parent 1cca034c7e
commit 8a61f0eb2b

View 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;
};