summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/curl_wrapper.hpp2
-rw-r--r--src/curl_wrapper.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp
index d8c3473..90e010a 100644
--- a/include/curl_wrapper.hpp
+++ b/include/curl_wrapper.hpp
@@ -30,8 +30,6 @@ namespace mastodonpp
using std::string;
using std::string_view;
-extern uint16_t curl_inits;
-
/*!
* @brief The HTTP method.
*
diff --git a/src/curl_wrapper.cpp b/src/curl_wrapper.cpp
index d4d44ba..b4b9dde 100644
--- a/src/curl_wrapper.cpp
+++ b/src/curl_wrapper.cpp
@@ -26,7 +26,7 @@ namespace mastodonpp
using std::uint8_t;
using std::uint16_t;
-uint16_t curlwrapper_instances{0};
+static uint16_t curlwrapper_instances{0};
CURLWrapper::CURLWrapper()
: _curl_buffer_error{}