summaryrefslogtreecommitdiffstats
path: root/enter.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2007-07-16 10:46:49 -0700
committerBrendan Cully <brendan@kublai.com>2007-07-16 10:46:49 -0700
commit78300aa625611f8393df3d5a2f3012af298d9ba8 (patch)
tree6666441d32c2350bb964a57e6aab409afef6795d /enter.c
parent8e9b7e3d470bb3a7e83102f5a2f8629115ea8f76 (diff)
Make is_shell_char static. Closes #2907.
Diffstat (limited to 'enter.c')
-rw-r--r--enter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enter.c b/enter.c
index 0a1470ca..7eef008a 100644
--- a/enter.c
+++ b/enter.c
@@ -189,7 +189,7 @@ static void replace_part (ENTER_STATE *state, size_t from, char *buf)
/*
* Return 1 if the character is not typically part of a pathname
*/
-inline int is_shell_char(wchar_t ch)
+static inline int is_shell_char(wchar_t ch)
{
static wchar_t shell_chars[] = L"<>&()$?*;{}| "; /* ! not included because it can be part of a pathname in Mutt */
return wcschr(shell_chars, ch) != NULL;