summaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-02 12:37:28 +0000
committerDenis Vlasenko2007-04-02 12:37:28 +0000
commit729bd9e0b0d5977e9c2c2a4eff7e2f0ca2ad4b9e (patch)
treed5cb1a1c7c41b2681ca867c57c3b4e473c0a56be /coreutils/test.c
parentb05a939bcc0249fe8bd94b9795db8f8d93c3921e (diff)
downloadbusybox-729bd9e0b0d5977e9c2c2a4eff7e2f0ca2ad4b9e.zip
busybox-729bd9e0b0d5977e9c2c2a4eff7e2f0ca2ad4b9e.tar.gz
test: comment out unused code
udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index 813cde4..d5babef 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -168,9 +168,11 @@ static int binop(void);
static arith_t primary(enum token n);
static int filstat(char *nm, enum token mode);
static arith_t getn(const char *s);
+/* UNUSED
static int newerf(const char *f1, const char *f2);
static int olderf(const char *f1, const char *f2);
static int equalf(const char *f1, const char *f2);
+*/
static int test_eaccess(char *path, int mode);
static int is_a_group_member(gid_t gid);
static void initialize_group_array(void);
@@ -490,6 +492,7 @@ static arith_t getn(const char *s)
return r;
}
+/* UNUSED
static int newerf(const char *f1, const char *f2)
{
struct stat b1, b2;
@@ -514,6 +517,7 @@ static int equalf(const char *f1, const char *f2)
stat(f2, &b2) == 0 &&
b1.st_dev == b2.st_dev && b1.st_ino == b2.st_ino);
}
+*/
/* Do the same thing access(2) does, but use the effective uid and gid,
and don't make the mistake of telling root that any file is