summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-06-12 14:14:23 +0200
committerMatthias Melcher <github@matthiasm.com>2022-06-12 14:14:23 +0200
commit995e3118a6cdfc93ae75eff0061205983f468122 (patch)
treea19d7794419c9ba594fbee0b16f7a9fafa838182 /src
parente6ca751e92dbd9f42e68dcddee90fc5787f355da (diff)
Local `isdirsep()` must not be visible to the outside.
Diffstat (limited to 'src')
-rw-r--r--src/filename_absolute.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filename_absolute.cxx b/src/filename_absolute.cxx
index 41f7f64ee..72bb9f3ff 100644
--- a/src/filename_absolute.cxx
+++ b/src/filename_absolute.cxx
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include "flstring.h"
-inline int isdirsep(char c) {return c == '/';}
+static inline int isdirsep(char c) {return c == '/';}
/** Makes a filename absolute from a relative filename.
\code