diff options
author | enen92 <92enen@gmail.com> | 2024-10-08 12:30:34 +0100 |
---|---|---|
committer | enen92 <92enen@gmail.com> | 2024-10-08 12:30:49 +0100 |
commit | 791318540b83ab5446ffcd6e597f744e4e28d0ad (patch) | |
tree | 03f97685d5744c331b2f9c744668c72af144da1b | |
parent | d59dbc43e488dbea13a1ac88138462ff3194dace (diff) |
udev: namespace get_mountpoint call
-rw-r--r-- | xbmc/platform/linux/storage/UDevProvider.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xbmc/platform/linux/storage/UDevProvider.cpp b/xbmc/platform/linux/storage/UDevProvider.cpp index 7123e87a77..df5b9844c5 100644 --- a/xbmc/platform/linux/storage/UDevProvider.cpp +++ b/xbmc/platform/linux/storage/UDevProvider.cpp @@ -17,7 +17,9 @@ extern "C" { #include <poll.h> } -static const char *get_mountpoint(const char *devnode) +namespace +{ +const char* get_mountpoint(const char* devnode) { static char buf[4096]; const char *delim = " "; @@ -59,6 +61,7 @@ static const char *get_mountpoint(const char *devnode) fclose(fp); return mountpoint; } +} // namespace CUDevProvider::CUDevProvider() { |