mangoapp: make mangoapp_paused, msgid static

Both variables are used within the app alone - make them static to that
unit.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
pull/707/head
Emil Velikov 2 years ago committed by jackun
parent 403b0f2154
commit 8482ca00fa
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -25,14 +25,15 @@ static void glfw_error_callback(int error, const char* description)
{
fprintf(stderr, "Glfw Error %d: %s\n", error, description);
}
swapchain_stats sw_stats {};
overlay_params *params;
static ImVec2 window_size;
static uint32_t vendorID;
static std::string deviceName;
static notify_thread notifier;
int msgid;
bool mangoapp_paused = false;
static int msgid;
static bool mangoapp_paused = false;
std::mutex mangoapp_m;
std::condition_variable mangoapp_cv;
static uint8_t raw_msg[1024] = {0};

@ -7,8 +7,6 @@
#include <condition_variable>
#include <vector>
extern int msgid;
extern bool mangoapp_paused;
extern std::mutex mangoapp_m;
extern std::condition_variable mangoapp_cv;
struct mangoapp_msg_header {

Loading…
Cancel
Save