convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git] / src / ntp / ntp.h
index 72fbf11..423c848 100644 (file)
@@ -13,7 +13,7 @@
 #define        FD_SET(n, p)    ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
 #define        FD_CLR(n, p)    ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
 #define        FD_ISSET(n, p)  ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
-#define FD_ZERO(p)     bzero((char *)(p), sizeof(*(p)))
+#define FD_ZERO(p)     memset((char *)(p), 0, sizeof(*(p)))
 #endif
 
 #ifndef        NBBY