summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-12 04:14:54 +0000
committerJim Meyering <jim@meyering.net>1992-11-12 04:14:54 +0000
commit88b70560464afbc44c6233abbb7375fd5c464124 (patch)
tree8cd20ebb560f9ec40e0c17474f507adb5269a8c3 /src/test.c
parent5fc2263354892487337ab870520c9b682e8a893e (diff)
downloadcoreutils-88b70560464afbc44c6233abbb7375fd5c464124.tar.xz
all files: make most variables static and const when possible.
declare lots of functions static.
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index a78af0968..0bc44e5dc 100644
--- a/src/test.c
+++ b/src/test.c
@@ -133,6 +133,8 @@ static int term ();
static int and ();
static int or ();
+static int group_member ();
+
static void
test_syntax_error (format, arg)
char *format, *arg;
@@ -165,7 +167,6 @@ eaccess (path, mode)
char *path;
int mode;
{
- extern int group_member ();
struct stat st;
static int euid = -1;
@@ -206,7 +207,7 @@ static int default_group_array_size = 0;
#endif /* HAVE_GETGROUPS */
/* Return non-zero if GID is one that we have in our groups list. */
-int
+static int
group_member (gid)
gid_t gid;
{