aboutsummaryrefslogtreecommitdiff
path: root/bin/ksh/lex.h
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2018-04-04 17:06:51 +0200
committerDuncaen <mail@duncano.de>2018-04-04 17:32:09 +0200
commit15d187865a3628ae7c899a6c0e42a1fcd943d70e (patch)
tree8ce5715f682421dc6743504560130df029dd43c0 /bin/ksh/lex.h
parent35744ad3cb26064253a67907c60c8d5de9acb345 (diff)
downloadlobase-15d187865a3628ae7c899a6c0e42a1fcd943d70e.tar.gz
bin/ksh: update to OPENBSD_6_3
Diffstat (limited to 'bin/ksh/lex.h')
-rw-r--r--bin/ksh/lex.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/bin/ksh/lex.h b/bin/ksh/lex.h
index 0b006d0..bf9072c 100644
--- a/bin/ksh/lex.h
+++ b/bin/ksh/lex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.h,v 1.16 2015/10/10 07:35:16 nicm Exp $ */
+/* $OpenBSD: lex.h,v 1.21 2018/01/15 14:58:05 jca Exp $ */
/*
* Source input, lexer and parser
@@ -105,18 +105,15 @@ extern YYSTYPE yylval; /* result from yylex */
extern struct ioword *heres[HERES], **herep;
extern char ident[IDENT+1];
-#ifdef HISTORY
-# define HISTORYSIZE 500 /* size of saved history */
+#define HISTORYSIZE 500 /* size of saved history */
extern char **history; /* saved commands */
extern char **histptr; /* last history item */
-extern int histsize; /* history size */
-
-#endif /* HISTORY */
+extern uint32_t histsize; /* history size */
int yylex(int);
void yyerror(const char *, ...)
__attribute__((__noreturn__, __format__ (printf, 1, 2)));
Source * pushs(int, Area *);
-void set_prompt(int, Source *);
+void set_prompt(int);
void pprompt(const char *, int);