aboutsummaryrefslogtreecommitdiff
path: root/shell/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/match.h')
-rw-r--r--shell/match.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/match.h b/shell/match.h
index 863f52539..3fc4de340 100644
--- a/shell/match.h
+++ b/shell/match.h
@@ -1,5 +1,7 @@
1/* match.h - interface to shell ##/%% matching code */ 1/* match.h - interface to shell ##/%% matching code */
2 2
3PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
4
3typedef char *(*scan_t)(char *string, char *match, bool zero); 5typedef char *(*scan_t)(char *string, char *match, bool zero);
4 6
5char *scanleft(char *string, char *match, bool zero); 7char *scanleft(char *string, char *match, bool zero);
@@ -20,3 +22,5 @@ static inline scan_t pick_scan(char op1, char op2, bool *zero)
20 return op1 == op2 ? scanleft : scanright; 22 return op1 == op2 ? scanleft : scanright;
21 } 23 }
22} 24}
25
26POP_SAVED_FUNCTION_VISIBILITY