summaryrefslogtreecommitdiff
path: root/src/utils/copynpaste.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
commit18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 (patch)
treedb753995392ae8e6c5202467f417f31deb8717f0 /src/utils/copynpaste.cpp
parentc3b8f951d6e16dfb48cb71bd7ad3d7c43ea56c0a (diff)
downloadManaVerse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.gz
ManaVerse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.bz2
ManaVerse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.xz
ManaVerse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.zip
Fix code style again.
Diffstat (limited to 'src/utils/copynpaste.cpp')
-rw-r--r--src/utils/copynpaste.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index b5dc63449..94cfe9589 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -407,7 +407,7 @@ bool retrieveBuffer(std::string& text, size_t& pos)
return false;
}
-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)
{
@@ -416,7 +416,7 @@ bool sendBuffer(std::string& text)
return true;
}
-bool runxsel(std::string& text, const char *p1, const char *p2)
+static bool runxsel(std::string& text, const char *p1, const char *p2)
{
pid_t pid;
int fd[2];