Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention more INTERNALS work.
[rsync/rsync.git]
/
getgroups.c
diff --git
a/getgroups.c
b/getgroups.c
index
7d681d1
..
b3202c3
100644
(file)
--- a/
getgroups.c
+++ b/
getgroups.c
@@
-26,7
+26,13
@@
#include "rsync.h"
#include "rsync.h"
-int main(int argc, char *argv[])
+#ifndef NGROUPS
+/* It ought to be defined, but just in case. */
+# define NGROUPS 32
+#endif
+
+int
+main(UNUSED(int argc), UNUSED(char *argv[]))
{
int n, i;
gid_t list[NGROUPS];
{
int n, i;
gid_t list[NGROUPS];