summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
commitb9dc855016cf79c8bb8469c272dbc6bca24deadc (patch)
treea2049bea7b17ededbd12b77110d47353ed832e46 /tty-term.c
parent27126f87976c63161fcae2ab1eb9c6df726a84ff (diff)
parent5c49e1d0c1afaf98512b2ffd1f31d91fecff9851 (diff)
Merge branch 'obsd-master'
Conflicts: format.c osdep-openbsd.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 a3a26369..591aad19 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -30,8 +30,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);
@@ -56,7 +56,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" },
@@ -267,7 +267,7 @@ tty_term_ncodes(void)
return (nitems(tty_term_codes));
}
-char *
+static char *
tty_term_strip(const char *s)
{
const char *ptr;
@@ -296,7 +296,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;