summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbind_nss_config.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-17 08:03:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:24 -0500
commit8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1 (patch)
tree22cb5afb52b1a0d2284b0f6d1df022c6f33d3e75 /source/nsswitch/winbind_nss_config.h
parentbc6ac4feac8c62cda2b6151eb648d3d5979e8a95 (diff)
downloadsamba-8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1.tar.gz
samba-8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1.tar.xz
samba-8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1.zip
r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
Diffstat (limited to 'source/nsswitch/winbind_nss_config.h')
-rw-r--r--source/nsswitch/winbind_nss_config.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/nsswitch/winbind_nss_config.h b/source/nsswitch/winbind_nss_config.h
index d595631362b..c36d4e72325 100644
--- a/source/nsswitch/winbind_nss_config.h
+++ b/source/nsswitch/winbind_nss_config.h
@@ -103,18 +103,6 @@ typedef int BOOL;
#endif /* don't lie. If we don't have it, then don't use it */
#endif
-
-
-/* zero a structure */
-#ifndef ZERO_STRUCT
-#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
-#endif
-
-/* zero a structure given a pointer to the structure */
-#ifndef ZERO_STRUCTP
-#define ZERO_STRUCTP(x) { if ((x) != NULL) memset((char *)(x), 0, sizeof(*(x))); }
-#endif
-
/* Some systems (SCO) treat UNIX domain sockets as FIFOs */
#ifndef S_IFSOCK