summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-30 18:21:47 -0400
committermidipix <writeonce@midipix.org>2016-04-30 18:27:47 -0400
commit8ea8fca787118a26878fa6128a2d9f1e8c0e6f51 (patch)
treedbda107b0fe230f438c4595bb6fa7414c0643d81
parent33ddb0e2ff332473482f4a8ff2dceaf573e29a35 (diff)
downloadslibtool-8ea8fca787118a26878fa6128a2d9f1e8c0e6f51.tar.bz2
slibtool-8ea8fca787118a26878fa6128a2d9f1e8c0e6f51.tar.xz
output: fix linkage of color constants.
-rw-r--r--src/output/slbt_output_exec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index d97b1ec..4001af6 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -8,13 +8,13 @@
#include <stdio.h>
#include <slibtool/slibtool.h>
-const char aclr_null[] = "";
-const char aclr_reset[] = "\x1b[0m";
-const char aclr_bold[] = "\x1b[1m";
+static const char aclr_null[] = "";
+static const char aclr_reset[] = "\x1b[0m";
+static const char aclr_bold[] = "\x1b[1m";
-const char aclr_green[] = "\x1b[32m";
-const char aclr_blue[] = "\x1b[34m";
-const char aclr_magenta[] = "\x1b[35m";
+static const char aclr_green[] = "\x1b[32m";
+static const char aclr_blue[] = "\x1b[34m";
+static const char aclr_magenta[] = "\x1b[35m";
static int slbt_output_exec_annotated(
const struct slbt_driver_ctx * dctx,