diff options
author | Jeff Layton <jlayton@samba.org> | 2017-02-23 18:49:59 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2017-02-24 07:12:14 -0500 |
commit | 912cbe49114392bd7c375c4c37698d406eb0660e (patch) | |
tree | cfe837233e2d0e75f3855d2401f8a178ef9a6cdb | |
parent | ec3874fdc669901f4a9e8a90a856f999cd627a3f (diff) | |
download | cifs-utils-912cbe49114392bd7c375c4c37698d406eb0660e.tar.gz cifs-utils-912cbe49114392bd7c375c4c37698d406eb0660e.tar.bz2 cifs-utils-912cbe49114392bd7c375c4c37698d406eb0660e.zip |
data_blob: remove need for replace.h
We only need ZERO_STRUCT there.
Signed-off-by: Jeff Layton <jlayton@samba.org>
-rw-r--r-- | data_blob.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data_blob.c b/data_blob.c index 834d810..a884f13 100644 --- a/data_blob.c +++ b/data_blob.c @@ -20,9 +20,12 @@ #include <string.h> -#include "replace.h" #include "data_blob.h" +#ifndef ZERO_STRUCT +#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x)) +#endif + const DATA_BLOB data_blob_null = { NULL, 0 }; /** |