summaryrefslogtreecommitdiff
path: root/src/utils/copynpaste.cpp
diff options
context:
space:
mode:
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];