From 18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Aug 2012 02:20:52 +0300 Subject: Fix code style again. --- src/resources/mapreader.cpp | 8 ++++---- src/resources/wallpaper.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/resources') 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; 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; -- cgit v1.2.3-60-g2f50