summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-17 07:34:22 -0700
committerWayne Davison <wayned@samba.org>2008-03-17 07:35:19 -0700
commitaa0e6b9977eff5c5433239a916623a4a3e8a67cb (patch)
tree6c70722ff87675997570c59ab0194ccd5abc3b09 /rsync.h
parent1ba6468f1bdaec43884b4d01d65834c8ab3312df (diff)
downloadrsync-aa0e6b9977eff5c5433239a916623a4a3e8a67cb.tar.gz
rsync-aa0e6b9977eff5c5433239a916623a4a3e8a67cb.tar.bz2
rsync-aa0e6b9977eff5c5433239a916623a4a3e8a67cb.zip
Attempting to silence some more "checker" warnings.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index c6293d0f..d7dcb08a 100644
--- a/rsync.h
+++ b/rsync.h
@@ -1107,6 +1107,11 @@ size_t strlcat(char *d, const char *s, size_t bufsize);
#define MY_GID() getgid()
#endif
+#ifdef FORCE_FD_ZERO_MEMSET
+#undef FD_ZERO
+#define FD_ZERO(fdsetp) memset(fdsetp, 0, sizeof (fd_set))
+#endif
+
extern int verbose;
#ifndef HAVE_INET_NTOP