summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_state.c12
-rw-r--r--utils/lv2info.c16
2 files changed, 14 insertions, 14 deletions
diff --git a/test/test_state.c b/test/test_state.c
index 6eb7793..1cb2ce5 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -41,10 +41,10 @@
#include <stdlib.h>
#include <string.h>
-uint32_t atom_Float = 0;
-float in = 1.0;
-float out = 42.0;
-float control = 1234.0;
+static uint32_t atom_Float = 0;
+static float in = 1.0;
+static float out = 42.0;
+static float control = 1234.0;
static const void*
get_port_value(const char* port_symbol,
@@ -93,8 +93,8 @@ set_port_value(const char* port_symbol,
}
}
-char** uris = NULL;
-size_t n_uris = 0;
+static char** uris = NULL;
+static size_t n_uris = 0;
static LV2_URID
map_uri(LV2_URID_Map_Handle handle, const char* uri)
diff --git a/utils/lv2info.c b/utils/lv2info.c
index f4c5c3f..0027da1 100644
--- a/utils/lv2info.c
+++ b/utils/lv2info.c
@@ -29,14 +29,14 @@
#include <stdlib.h>
#include <string.h>
-LilvNode* applies_to_pred = NULL;
-LilvNode* control_class = NULL;
-LilvNode* event_class = NULL;
-LilvNode* group_pred = NULL;
-LilvNode* label_pred = NULL;
-LilvNode* preset_class = NULL;
-LilvNode* designation_pred = NULL;
-LilvNode* supports_event_pred = NULL;
+static LilvNode* applies_to_pred = NULL;
+static LilvNode* control_class = NULL;
+static LilvNode* event_class = NULL;
+static LilvNode* group_pred = NULL;
+static LilvNode* label_pred = NULL;
+static LilvNode* preset_class = NULL;
+static LilvNode* designation_pred = NULL;
+static LilvNode* supports_event_pred = NULL;
static void
print_port(const LilvPlugin* p,