summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/funcs.h
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2018-03-17 14:03:36 +0000
committerkrw <krw@openbsd.org>2018-03-17 14:03:36 +0000
commit745ece38b867f16ee9cc677db6647746fbe499de (patch)
tree4df8e31ad30ff9153aedef695dc896d96b55d56c /usr.bin/less/funcs.h
parentAdd proper suspend/resume support. (diff)
downloadwireguard-openbsd-745ece38b867f16ee9cc677db6647746fbe499de.tar.xz
wireguard-openbsd-745ece38b867f16ee9cc677db6647746fbe499de.zip
Split only LESS on $.
As guenther@ said "STOP SPLITTING ANYTHING BUT $LESS ON '$' !". anton@ came up with the same diff. ok nicm@
Diffstat (limited to 'usr.bin/less/funcs.h')
-rw-r--r--usr.bin/less/funcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/funcs.h b/usr.bin/less/funcs.h
index 00eaf9b8090..49a39877ed1 100644
--- a/usr.bin/less/funcs.h
+++ b/usr.bin/less/funcs.h
@@ -213,7 +213,7 @@ void opt_quote(int, char *);
void opt_query(int, char *);
int get_swindow(void);
char *propt(int);
-void scan_option(char *);
+void scan_option(char *, int);
void toggle_option(struct loption *, int, char *, int);
int opt_has_param(struct loption *);
char *opt_prompt(struct loption *);