1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

added a macro ZERO_STRUCT() which is useful for initialising

structures declared on the stack.
(This used to be commit f323af8fce)
This commit is contained in:
Andrew Tridgell 1998-08-21 09:43:21 +00:00
parent 04c4ca1b24
commit 7d657984bb

View File

@ -1563,6 +1563,9 @@ extern int unix_ERR_code;
#define CMD_REPLY 0x8000
/* useful macros */
#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
#endif /* _SMB_H */
#include "ntdomain.h"