aboutsummaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-08-18 17:09:55 +0100
committerMark Haines <mark.haines@matrix.org>2015-08-18 17:09:55 +0100
commit159faa1e2b4326bcae2fab6bb082ba002c49f7e8 (patch)
tree7deaa954a958ea515931d46870d22d4dd075b2bb /src/session.cpp
parentc35d1d420f9917c5e6fe536cf7b4a273b198222f (diff)
Make the internal functions static, remove some unused internal functions
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp
index b17a059..18f0000 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -101,7 +101,7 @@ std::size_t olm::Session::new_outbound_session(
namespace {
-bool check_message_fields(
+static bool check_message_fields(
olm::PreKeyMessageReader & reader, bool have_their_identity_key
) {
bool ok = true;