diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-02 12:37:28 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-02 12:37:28 +0000 |
commit | 163196507b7ca852a667608561f8ce2a42ae6f70 (patch) | |
tree | d5cb1a1c7c41b2681ca867c57c3b4e473c0a56be /coreutils/test.c | |
parent | e076974fc1f9c841f5a689120bbeb667d76cd5b7 (diff) | |
download | busybox-w32-163196507b7ca852a667608561f8ce2a42ae6f70.tar.gz busybox-w32-163196507b7ca852a667608561f8ce2a42ae6f70.tar.bz2 busybox-w32-163196507b7ca852a667608561f8ce2a42ae6f70.zip |
test: comment out unused code
udpsvd: fake it compile
tcpsvd: more optimal memorizing of IP's for -C
git-svn-id: svn://busybox.net/trunk/busybox@18302 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/test.c')
-rw-r--r-- | coreutils/test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index 813cde47c..d5babefce 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -168,9 +168,11 @@ static int binop(void); | |||
168 | static arith_t primary(enum token n); | 168 | static arith_t primary(enum token n); |
169 | static int filstat(char *nm, enum token mode); | 169 | static int filstat(char *nm, enum token mode); |
170 | static arith_t getn(const char *s); | 170 | static arith_t getn(const char *s); |
171 | /* UNUSED | ||
171 | static int newerf(const char *f1, const char *f2); | 172 | static int newerf(const char *f1, const char *f2); |
172 | static int olderf(const char *f1, const char *f2); | 173 | static int olderf(const char *f1, const char *f2); |
173 | static int equalf(const char *f1, const char *f2); | 174 | static int equalf(const char *f1, const char *f2); |
175 | */ | ||
174 | static int test_eaccess(char *path, int mode); | 176 | static int test_eaccess(char *path, int mode); |
175 | static int is_a_group_member(gid_t gid); | 177 | static int is_a_group_member(gid_t gid); |
176 | static void initialize_group_array(void); | 178 | static void initialize_group_array(void); |
@@ -490,6 +492,7 @@ static arith_t getn(const char *s) | |||
490 | return r; | 492 | return r; |
491 | } | 493 | } |
492 | 494 | ||
495 | /* UNUSED | ||
493 | static int newerf(const char *f1, const char *f2) | 496 | static int newerf(const char *f1, const char *f2) |
494 | { | 497 | { |
495 | struct stat b1, b2; | 498 | struct stat b1, b2; |
@@ -514,6 +517,7 @@ static int equalf(const char *f1, const char *f2) | |||
514 | stat(f2, &b2) == 0 && | 517 | stat(f2, &b2) == 0 && |
515 | b1.st_dev == b2.st_dev && b1.st_ino == b2.st_ino); | 518 | b1.st_dev == b2.st_dev && b1.st_ino == b2.st_ino); |
516 | } | 519 | } |
520 | */ | ||
517 | 521 | ||
518 | /* Do the same thing access(2) does, but use the effective uid and gid, | 522 | /* Do the same thing access(2) does, but use the effective uid and gid, |
519 | and don't make the mistake of telling root that any file is | 523 | and don't make the mistake of telling root that any file is |