summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Meerkoetter <frank.meerkoetter@basyskom.com>2016-04-04 19:09:17 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2016-04-07 05:45:45 +0000
commit9a6cb913d8f6f16af51fcbd2ffdd0790b93abb07 (patch)
tree015ea494167e187d97c3928fe69a1d597d353e87
parent9b804c270d11d34d37c08a5145dba083a6b0c1a7 (diff)
downloadqtwebsockets-9a6cb913d8f6f16af51fcbd2ffdd0790b93abb07.tar.gz
Limit function visibility to the translation unit
Do not create a global symbol. Change-Id: I176c0b4441815e5c6ca02b89b1fe0dd5a1bcdb2f Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--src/websockets/qwebsocket_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsocket_p.cpp b/src/websockets/qwebsocket_p.cpp
index e216eba..0bc4486 100644
--- a/src/websockets/qwebsocket_p.cpp
+++ b/src/websockets/qwebsocket_p.cpp
@@ -866,7 +866,7 @@ qint64 QWebSocketPrivate::writeFrame(const QByteArray &frame)
/*!
\internal
*/
-QString readLine(QTcpSocket *pSocket)
+static QString readLine(QTcpSocket *pSocket)
{
Q_ASSERT(pSocket);
QString line;