diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-17 08:03:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:24 -0500 |
commit | a8c62502741fe287091cc9001b69fbd7496e3562 (patch) | |
tree | 6bb0fe3d00b6c12f299728943a8a22e6c74250fb /source3/nsswitch | |
parent | 2da54a66b970917ca5290001af0f4ab7adf68460 (diff) | |
download | samba-a8c62502741fe287091cc9001b69fbd7496e3562.tar.gz samba-a8c62502741fe287091cc9001b69fbd7496e3562.tar.bz2 samba-a8c62502741fe287091cc9001b69fbd7496e3562.zip |
r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
(This used to be commit 8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbind_nss_config.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h index d595631362..c36d4e7232 100644 --- a/source3/nsswitch/winbind_nss_config.h +++ b/source3/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 |