summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-03-17 12:01:28 +0000
committerThomas Adam <thomas@xteddy.org>2020-03-17 12:01:28 +0000
commit0610f66fa9c8e5ac46e796a2dbc89bb1b369d84f (patch)
tree5a1203bc453a07be05a2c652e635570adb8ee672 /tmux.c
parent71eb965dd9ef1e511dfb6d2b24196cca550e1284 (diff)
parent115bb33257ece9eec1c890cc04683227678a895f (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux.c b/tmux.c
index e296a13a..46a9a656 100644
--- a/tmux.c
+++ b/tmux.c
@@ -46,8 +46,8 @@ const char *shell_command;
static __dead void usage(void);
static char *make_label(const char *, char **);
+static int areshell(const char *);
static const char *getshell(void);
-static int checkshell(const char *);
static __dead void
usage(void)
@@ -76,7 +76,7 @@ getshell(void)
return (_PATH_BSHELL);
}
-static int
+int
checkshell(const char *shell)
{
if (shell == NULL || *shell != '/')
@@ -88,7 +88,7 @@ checkshell(const char *shell)
return (1);
}
-int
+static int
areshell(const char *shell)
{
const char *progname, *ptr;