From 70f7f10476311288049565573338a4a821cef8a5 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 27 Jan 2017 15:55:28 -0800 Subject: Add missing `static`s and remove an unused function. --- toys/posix/cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/cpio.c') 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]; -- cgit v1.2.3