summaryrefslogtreecommitdiff
path: root/src/resources/wallpaper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/wallpaper.cpp')
-rw-r--r--src/resources/wallpaper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
index 316419627..9ee87e33a 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -44,7 +44,7 @@ struct WallpaperData
int height;
};
-bool wallpaperCompare(WallpaperData a, WallpaperData b);
+static bool wallpaperCompare(WallpaperData a, WallpaperData b);
static std::vector<WallpaperData> wallpaperData;
static bool haveBackup; // Is the backup (no size given) version available?
@@ -78,7 +78,7 @@ static void initDefaultWallpaperPaths()
wallpaperFile = "login_wallpaper.png";
}
-bool wallpaperCompare(WallpaperData a, WallpaperData b)
+static bool wallpaperCompare(WallpaperData a, WallpaperData b)
{
int aa = a.width * a.height;
int ab = b.width * b.height;