summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-10 21:29:23 +0000
committernicm <nicm>2016-10-10 21:29:23 +0000
commitc426e485e527a03aa3b4bdbb3203f621e006cbd5 (patch)
tree2f0add91706d06d7cf4d748294805c8d4d4d8d39 /tty-term.c
parent66b5477cc1909e57489f854939a524ce2cd0f479 (diff)
Loads more static, except for cmd-*.c and window-*.c.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tty-term.c b/tty-term.c
index 05ef01e7..2da8a8f5 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -27,8 +27,8 @@
#include "tmux.h"
-void tty_term_override(struct tty_term *, const char *);
-char *tty_term_strip(const char *);
+static void tty_term_override(struct tty_term *, const char *);
+static char *tty_term_strip(const char *);
struct tty_terms tty_terms = LIST_HEAD_INITIALIZER(tty_terms);
@@ -53,7 +53,7 @@ struct tty_term_code_entry {
const char *name;
};
-const struct tty_term_code_entry tty_term_codes[] = {
+static const struct tty_term_code_entry tty_term_codes[] = {
[TTYC_ACSC] = { TTYCODE_STRING, "acsc" },
[TTYC_AX] = { TTYCODE_FLAG, "AX" },
[TTYC_BCE] = { TTYCODE_FLAG, "bce" },
@@ -264,7 +264,7 @@ tty_term_ncodes(void)
return (nitems(tty_term_codes));
}
-char *
+static char *
tty_term_strip(const char *s)
{
const char *ptr;
@@ -293,7 +293,7 @@ tty_term_strip(const char *s)
return (xstrdup(buf));
}
-void
+static void
tty_term_override(struct tty_term *term, const char *overrides)
{
const struct tty_term_code_entry *ent;