aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-01-27 15:55:28 -0800
committerRob Landley <rob@landley.net>2017-01-28 17:41:16 -0600
commit70f7f10476311288049565573338a4a821cef8a5 (patch)
tree35c53bf0effb587ca67e3f21ab63ccb9c62797aa /toys/posix/ps.c
parent8ceb2dec8b7233385c1b2983c907592c46a48bd8 (diff)
downloadtoybox-70f7f10476311288049565573338a4a821cef8a5.tar.gz
Add missing `static`s and remove an unused function.
Diffstat (limited to 'toys/posix/ps.c')
-rw-r--r--toys/posix/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index 35763509..76bd2e48 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -975,7 +975,7 @@ static char *parse_ko(void *data, char *type, int length)
return 0;
}
-long long get_headers(struct strawberry *fields, char *buf, int blen)
+static long long get_headers(struct strawberry *fields, char *buf, int blen)
{
long long bits = 0;
int len = 0;