summaryrefslogtreecommitdiffstats
path: root/tty-acs.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-03 22:52:11 +0000
committernicm <nicm>2016-10-03 22:52:11 +0000
commit1b31d148c94f48932f439baa4d336e7de1035ddf (patch)
treefddb9d79fec24cde527a0284605bf278acd7044a /tty-acs.c
parent305c832a97c8e20136d36cf2537f65109fde7c43 (diff)
Remove some dead code in cmd-move-window.c and make a load of local
functions static.
Diffstat (limited to 'tty-acs.c')
-rw-r--r--tty-acs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tty-acs.c b/tty-acs.c
index 7fd265d4..6e3103d9 100644
--- a/tty-acs.c
+++ b/tty-acs.c
@@ -22,14 +22,14 @@
#include "tmux.h"
-int tty_acs_cmp(const void *, const void *);
+static int tty_acs_cmp(const void *, const void *);
/* Table mapping ACS entries to UTF-8. */
struct tty_acs_entry {
u_char key;
const char *string;
};
-const struct tty_acs_entry tty_acs_table[] = {
+static const struct tty_acs_entry tty_acs_table[] = {
{ '+', "\342\206\222" }, /* arrow pointing right */
{ ',', "\342\206\220" }, /* arrow pointing left */
{ '-', "\342\206\221" }, /* arrow pointing up */
@@ -64,7 +64,7 @@ const struct tty_acs_entry tty_acs_table[] = {
{ '~', "\302\267" } /* bullet */
};
-int
+static int
tty_acs_cmp(const void *key, const void *value)
{
const struct tty_acs_entry *entry = value;