some variables not referenced in another translation unit made static

Also adds some cross-refence comments for some variables that are
referenced in another translation unit.
This commit is contained in:
nhmall
2024-03-15 16:00:14 -04:00
parent 243f6410d2
commit 79648c6ce2
31 changed files with 94 additions and 71 deletions

View File

@@ -28,7 +28,7 @@ struct find_struct {
enum reserved_activities restype;
genericptr_t reserved;
};
const struct find_struct zero_find = { 0 };
static const struct find_struct zero_find = { 0 };
struct glyphid_cache_t {
int glyphnum;
char *id;
@@ -36,7 +36,7 @@ struct glyphid_cache_t {
static struct glyphid_cache_t *glyphid_cache;
static unsigned glyphid_cache_lsize;
static size_t glyphid_cache_size;
struct find_struct glyphcache_find, to_custom_symbol_find;
static struct find_struct glyphcache_find, to_custom_symbol_find;
static void init_glyph_cache(void);
static void add_glyph_to_cache(int glyphnum, const char *id);
static int find_glyph_in_cache(const char *id);