summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-06-27 12:56:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-27 12:56:23 +0200
commit897c5b6722f5c9f1ff348f0b606cd30f1862ee75 (patch)
treedfb19467cc59ffe38304c128fa7ff21fd25f7dff
parentd81a7b9debb17fcce59962c645ef5f9a936fc49b (diff)
downloadbarebox-897c5b6722f5c9f1ff348f0b606cd30f1862ee75.tar.gz
fs: Make locally used function canonicalize_dir() static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--fs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 0a5b61a..c9226f9 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;