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/units.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/units.cpp') diff --git a/src/units.cpp b/src/units.cpp index 9aa1cdf5e..3c4da47e8 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -55,9 +55,9 @@ enum UnitType UNIT_END }; -std::string formatUnit(int value, int type); +static std::string formatUnit(int value, int type); -std::string splitNumber(std::string str, const std::string &separator); +static std::string splitNumber(std::string str, const std::string &separator); struct UnitDescription units[UNIT_END]; @@ -173,7 +173,7 @@ void Units::loadUnits() } } -std::string formatUnit(int value, int type) +static std::string formatUnit(int value, int type) { struct UnitDescription ud = units[type]; struct UnitLevel ul; @@ -262,7 +262,7 @@ std::string Units::formatWeight(int value) return formatUnit(value, UNIT_WEIGHT); } -std::string splitNumber(std::string str, const std::string &separator) +static std::string splitNumber(std::string str, const std::string &separator) { std::string lastPart; size_t point = str.find("."); -- cgit v1.2.3-70-g09d2