aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cpio.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/cpio.c
parent8ceb2dec8b7233385c1b2983c907592c46a48bd8 (diff)
downloadtoybox-70f7f10476311288049565573338a4a821cef8a5.tar.gz
Add missing `static`s and remove an unused function.
Diffstat (limited to 'toys/posix/cpio.c')
-rw-r--r--toys/posix/cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/cpio.c b/toys/posix/cpio.c
index 3bd40f47..5524dba2 100644
--- a/toys/posix/cpio.c
+++ b/toys/posix/cpio.c
@@ -61,7 +61,7 @@ static char *strpad(int fd, unsigned len, unsigned align)
}
//convert hex to uint; mostly to allow using bits of non-terminated strings
-unsigned x8u(char *hex)
+static unsigned x8u(char *hex)
{
unsigned val, inpos = 8, outpos;
char pattern[6];