summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-17 00:36:15 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-17 00:36:15 +0300
commit093e392dd84c920d26bca17d48ac6611393d087c (patch)
tree776845e14448e748f25dcfc92749ed1599b0ce31 /src/utils
parentb30df9b843eae2128431320308510f13296e3e7f (diff)
downloadmv-093e392dd84c920d26bca17d48ac6611393d087c.tar.gz
mv-093e392dd84c920d26bca17d48ac6611393d087c.tar.bz2
mv-093e392dd84c920d26bca17d48ac6611393d087c.tar.xz
mv-093e392dd84c920d26bca17d48ac6611393d087c.zip
Fix code style.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/copynpaste.cpp3
-rw-r--r--src/utils/mkdir.cpp4
-rw-r--r--src/utils/physfsrwops.cpp3
3 files changed, 6 insertions, 4 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index 461de1001..88e2db580 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -408,7 +408,8 @@ bool retrieveBuffer(std::string& text, size_t& pos)
return false;
}
-static bool runxsel(std::string& text, const char *p1, const char *p2 = nullptr);
+static bool runxsel(std::string& text, const char *p1,
+ const char *p2 = nullptr);
bool sendBuffer(std::string& text)
{
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index f73af6db5..05e7d4bd3 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -19,6 +19,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "utils/mkdir.h"
+
#include <climits>
#include <cstring>
#include <cerrno>
@@ -35,8 +37,6 @@
#include <cstdlib>
#endif
-#include "utils/mkdir.h"
-
#include "debug.h"
#if defined WIN32
diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp
index 19b08d4c7..1afedf2a3 100644
--- a/src/utils/physfsrwops.cpp
+++ b/src/utils/physfsrwops.cpp
@@ -22,9 +22,10 @@
* Copyright (C) 2012 The ManaPlus Developers
*/
-#include <stdio.h> /* used for SEEK_SET, SEEK_CUR, SEEK_END ... */
#include "utils/physfsrwops.h"
+#include <stdio.h> /* used for SEEK_SET, SEEK_CUR, SEEK_END ... */
+
#include "localconsts.h"
#include "debug.h"