[PATCH] fs: Make locally used function canonicalize_dir() static

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 27 04:04:04 PDT 2017


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 fs/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fs.c b/fs/fs.c
index 0a5b61a2b0..c9226f9ba6 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -246,7 +246,7 @@ char *canonicalize_path(const char *pathname)
  *
  * Return: Path with links resolved. Allocated, must be freed after use.
  */
-char *canonicalize_dir(const char *pathname)
+static char *canonicalize_dir(const char *pathname)
 {
 	char *f, *d, *r, *ret, *p;
 	char *freep1, *freep2;
-- 
2.11.0




More information about the barebox mailing list