patch 9.0.0003: functions are global while they could be local

Problem:    Functions are global while they could be local.
Solution:   Add "static".  Add a few tests. (Yegappan Lakshmanan,
            closes #10612)
diff --git a/src/highlight.c b/src/highlight.c
index 75a310f..bf876d1 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -566,7 +566,7 @@
  * "boldp" will be set to TRUE or FALSE for a foreground color when using 8
  * colors, otherwise it will be unchanged.
  */
-    int
+    static int
 lookup_color(int idx, int foreground, int *boldp)
 {
     int		color = color_numbers_16[idx];