summaryrefslogtreecommitdiff
path: root/metachar.h
diff options
context:
space:
mode:
Diffstat (limited to 'metachar.h')
-rw-r--r--metachar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/metachar.h b/metachar.h
index f180b483f8c3..ced0648fa19e 100644
--- a/metachar.h
+++ b/metachar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: metachar.h,v 1.11 2020/10/31 18:20:00 rillig Exp $ */
+/* $NetBSD: metachar.h,v 1.12 2020/11/10 00:32:12 rillig Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@ extern unsigned char _metachar[];
#define is_shell_metachar(c) _metachar[(c) & 0x7f]
-static inline MAKE_ATTR_UNUSED int
+MAKE_INLINE int
needshell(const char *cmd)
{
while (!is_shell_metachar(*cmd) && *cmd != ':' && *cmd != '=')