diff options
author | David Robillard <d@drobilla.net> | 2020-07-15 17:22:56 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-16 23:37:49 +0200 |
commit | 2c0c484d52cbbacbbfbffb6d490d83407823b7ea (patch) | |
tree | 27158eec6bc5dfc2d5f7409fffe65577f40f22f9 | |
parent | cec00731f59893ba0851bc5eb2187037c7b21dbf (diff) | |
download | lilv-2c0c484d52cbbacbbfbffb6d490d83407823b7ea.tar.gz lilv-2c0c484d52cbbacbbfbffb6d490d83407823b7ea.tar.bz2 lilv-2c0c484d52cbbacbbfbffb6d490d83407823b7ea.zip |
Add missing static specifiers
-rw-r--r-- | test/test_state.c | 12 | ||||
-rw-r--r-- | utils/lv2info.c | 16 |
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, |