=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty-term.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- src/usr.bin/tmux/tty-term.c 2016/01/29 11:13:56 1.45 +++ src/usr.bin/tmux/tty-term.c 2016/10/10 21:29:23 1.46 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-term.c,v 1.45 2016/01/29 11:13:56 nicm Exp $ */ +/* $OpenBSD: tty-term.c,v 1.46 2016/10/10 21:29:23 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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 @@ 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 @@ return (nitems(tty_term_codes)); } -char * +static char * tty_term_strip(const char *s) { const char *ptr; @@ -293,7 +293,7 @@ return (xstrdup(buf)); } -void +static void tty_term_override(struct tty_term *term, const char *overrides) { const struct tty_term_code_entry *ent;