summaryrefslogtreecommitdiff
path: root/lib/getugroups.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-05 17:45:56 +0200
committerJim Meyering <meyering@redhat.com>2009-07-05 17:45:56 +0200
commit1203e8d1f62dec3d2436dffadd5c20793cf84366 (patch)
tree2398ec53806633754914b75b867e8f7f4572a3bd /lib/getugroups.c
parent675fbd30d44edd7ecfca9e9013424b187eb3db70 (diff)
downloadgnulib-1203e8d1f62dec3d2436dffadd5c20793cf84366.tar.gz
remove superfluous parentheses in STREQ definition
* tests/test-argv-iter.c (STREQ): Remove redundant parentheses. * lib/getugroups.c (STREQ): Likewise. * lib/fnmatch.c (STREQ): Likewise. Spotted by Bruno Haible.
Diffstat (limited to 'lib/getugroups.c')
-rw-r--r--lib/getugroups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getugroups.c b/lib/getugroups.c
index b266bb8c32..2207b85a17 100644
--- a/lib/getugroups.c
+++ b/lib/getugroups.c
@@ -1,6 +1,6 @@
/* getugroups.c -- return a list of the groups a user is in
- Copyright (C) 1990, 1991, 1998-2000, 2003-2008 Free Software Foundation.
+ Copyright (C) 1990, 1991, 1998-2000, 2003-2009 Free Software Foundation.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ struct group *getgrent (void);
#include <string.h>
-#define STREQ(s1, s2) ((strcmp (s1, s2) == 0))
+#define STREQ(s1, s2) (strcmp (s1, s2) == 0)
/* Like `getgroups', but for user USERNAME instead of for the current
process. Store at most MAXCOUNT group IDs in the GROUPLIST array.