summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp8
-rw-r--r--src/resources/wallpaper.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 4e38d5b0f..8f38b0dab 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -43,11 +43,11 @@
#include "debug.h"
-int inflateMemory(unsigned char *in, unsigned int inLength,
- unsigned char *&out, unsigned int &outLength);
+static int inflateMemory(unsigned char *in, unsigned int inLength,
+ unsigned char *&out, unsigned int &outLength);
-int inflateMemory(unsigned char *in, unsigned int inLength,
- unsigned char *&out);
+static int inflateMemory(unsigned char *in, unsigned int inLength,
+ unsigned char *&out);
static std::string resolveRelativePath(std::string base, std::string relative)
{
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;