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:
parent
04c4ca1b24
commit
7d657984bb
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user