* [PATCH] fs: Make locally used function canonicalize_dir() static
@ 2017-06-27 11:04 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2017-06-27 11:04 UTC (permalink / raw)
To: Barebox List
Signed-off-by: Sascha Hauer <s.hauer@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-27 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 11:04 [PATCH] fs: Make locally used function canonicalize_dir() static Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox