diff options
author | Elliott Hughes <enh@google.com> | 2017-01-27 15:55:28 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-01-28 17:41:16 -0600 |
commit | 70f7f10476311288049565573338a4a821cef8a5 (patch) | |
tree | 35c53bf0effb587ca67e3f21ab63ccb9c62797aa /toys/posix/cp.c | |
parent | 8ceb2dec8b7233385c1b2983c907592c46a48bd8 (diff) | |
download | toybox-70f7f10476311288049565573338a4a821cef8a5.tar.gz |
Add missing `static`s and remove an unused function.
Diffstat (limited to 'toys/posix/cp.c')
-rw-r--r-- | toys/posix/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |