aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/id.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-08-02 21:51:41 -0500
committerRob Landley <rob@landley.net>2015-08-02 21:51:41 -0500
commit7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f (patch)
tree3c74019a20c6d23f18409ef026727b3195d3b6ee /toys/posix/id.c
parent3aa1d18b727ded4415d8a5f34f90a0726213aa7f (diff)
downloadtoybox-7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f.tar.gz
Mark command-local functions static.
Diffstat (limited to 'toys/posix/id.c')
-rw-r--r--toys/posix/id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/id.c b/toys/posix/id.c
index aa43072f..01610bcd 100644
--- a/toys/posix/id.c
+++ b/toys/posix/id.c
@@ -82,7 +82,7 @@ static void showid(char *header, unsigned u, char *s)
printf("%s%u(%s)", header, u, s);
}
-void do_id(char *username)
+static void do_id(char *username)
{
int flags, i, ngroups;
struct passwd *pw;