aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-02-07 22:26:00 -0600
committerRob Landley <rob@landley.net>2021-02-07 22:26:00 -0600
commita4b84d92d9016dc8460255b954ffbd04d5ff6b92 (patch)
treeb503d33a41215f56a45ffb116b6c4b066270109e
parent664c417af5d16e217557468ba747a369e8e1ab6b (diff)
downloadtoybox-a4b84d92d9016dc8460255b954ffbd04d5ff6b92.tar.gz
Remove unused function.
Ethan Sommer noticed that chown is using chgrp_main() due to OLDTOY, so the wrapper function isn't needed.
-rw-r--r--toys/posix/chgrp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/toys/posix/chgrp.c b/toys/posix/chgrp.c
index 807ac824..a63272a5 100644
--- a/toys/posix/chgrp.c
+++ b/toys/posix/chgrp.c
@@ -99,8 +99,3 @@ void chgrp_main(void)
if (CFG_TOYBOX_FREE && ischown) free(own);
}
-
-void chown_main(void)
-{
- chgrp_main();
-}