diff options
author | Rob Landley <rob@landley.net> | 2012-03-07 19:04:50 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-03-07 19:04:50 -0600 |
commit | f05f660d9c4f18aa4702d723ed7b35f7053ce08c (patch) | |
tree | 3fdb1393a989873a0d6f5a92cb4851031ac6db6f /toys/id.c | |
parent | b7a4862fbf0df632837a53e230f4aa9cceb5f578 (diff) | |
download | toybox-f05f660d9c4f18aa4702d723ed7b35f7053ce08c.tar.gz |
Consolidate headers.
Diffstat (limited to 'toys/id.c')
-rw-r--r-- | toys/id.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -25,9 +25,6 @@ config ID -u Show only the effective user ID */ -#include <sys/types.h> -#include <pwd.h> -#include <grp.h> #include "toys.h" #define FLAG_n (1<<4) @@ -36,8 +33,8 @@ config ID #define FLAG_r (1<<1) #define FLAG_u 1 -void -pretty_print(struct passwd *pw, struct group *grp, struct group **grps, int n) +void pretty_print(struct passwd *pw, struct group *grp, struct group **grps, + int n) { int i; printf("uid= %d(%s) gid= %d(%s)", pw->pw_uid, pw->pw_name, |