Changeset 30 for trunk/samba/source/nsswitch/winbind_nss_config.h
- Timestamp:
- Apr 25, 2007, 9:44:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/nsswitch/winbind_nss_config.h
r1 r30 104 104 #endif 105 105 106 107 108 /* zero a structure */109 #ifndef ZERO_STRUCT110 #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))111 #endif112 113 /* zero a structure given a pointer to the structure */114 #ifndef ZERO_STRUCTP115 #define ZERO_STRUCTP(x) { if ((x) != NULL) memset((char *)(x), 0, sizeof(*(x))); }116 #endif117 118 106 /* Some systems (SCO) treat UNIX domain sockets as FIFOs */ 119 107
Note: See TracChangeset
for help on using the changeset viewer.