From 791318540b83ab5446ffcd6e597f744e4e28d0ad Mon Sep 17 00:00:00 2001 From: enen92 <92enen@gmail.com> Date: Tue, 8 Oct 2024 12:30:34 +0100 Subject: udev: namespace get_mountpoint call --- xbmc/platform/linux/storage/UDevProvider.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -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() { -- cgit v1.2.3