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/cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/cp.c') diff --git a/toys/posix/cp.c b/toys/posix/cp.c index 0dd63a7d..d4475a02 100644 --- a/toys/posix/cp.c +++ b/toys/posix/cp.c @@ -123,7 +123,7 @@ struct cp_preserve { // Callback from dirtree_read() for each file/directory under a source dir. -int cp_node(struct dirtree *try) +static int cp_node(struct dirtree *try) { int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, tfd = dirtree_parentfd(try); -- cgit v1.2.3