Add breadcrumbs for grammar debugging.
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index e6d31bf232b18b64d69272bbb5c2b5d68a7a5f4f..ba2e2afffc0c637f8ec37aa2fef701035ec82cad 100644 (file)
--- 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;
@@ -654,7 +656,7 @@ void set_seed(long seedval)
     game.zzword[5] = '\0';
 }
 
-unsigned long get_next_lcg_value(void)
+static unsigned long get_next_lcg_value(void)
 /* Return the LCG's current value, and then iterate it. */
 {
     unsigned long old_x = game.lcg_x;