X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=misc.c;h=23c053f2e41a7b91f41e1ebda1b154361e6629c9;hb=0d3393ebee2cfa97cd7b51daf0448992df758594;hp=25808a2c4353ff5a76f301603392e21a7f802f3d;hpb=8765f49fdc85e804490ebda4b0b6caee32a45af2;p=open-adventure.git diff --git a/misc.c b/misc.c index 25808a2..23c053f 100644 --- a/misc.c +++ b/misc.c @@ -93,6 +93,7 @@ static void vspeak(const char* msg, bool blank, va_list ap) } } + // LCOV_EXCL_START - doesn't occur in test suite. /* Version specifier */ if (msg[i] == 'V') { strcpy(renderp, VERSION); @@ -100,6 +101,7 @@ static void vspeak(const char* msg, bool blank, va_list ap) renderp += len; size -= len; } + // LCOV_EXCL_STOP } } *renderp = 0; @@ -411,7 +413,7 @@ static bool is_valid_int(const char *str) return true; } -static void get_vocab_metadata(const char* word, vocab_t* id, enum wordtype* type) +static void get_vocab_metadata(const char* word, vocab_t* id, word_type_t* type) { /* Check for an empty string */ if (strncmp(word, "", sizeof("")) == 0) {