summaryrefslogtreecommitdiff
path: root/usr.bin/bc/extern.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2013-09-19 16:12:02 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2013-09-19 16:12:02 +0000
commit9dcae335db31b109f2eeb4b6b63e0cab3328de65 (patch)
treeb6bc771672ba0ddcf2316468407b77b264968c11 /usr.bin/bc/extern.h
parent6f3beff0ed61c4dd99f705958a5ae95ea659e832 (diff)
separate termios.h out from scan.l, both have an ECHO define. Noted by
Joris Giovannangeli.
Diffstat (limited to 'usr.bin/bc/extern.h')
-rw-r--r--usr.bin/bc/extern.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/bc/extern.h b/usr.bin/bc/extern.h
index 3fb7e318daa..7095941083b 100644
--- a/usr.bin/bc/extern.h
+++ b/usr.bin/bc/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.9 2011/08/03 08:48:19 otto Exp $ */
+/* $OpenBSD: extern.h,v 1.10 2013/09/19 16:12:01 otto Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -16,6 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <stdbool.h>
#include <stdio.h>
struct lvalue {
@@ -27,7 +28,9 @@ int yylex(void);
void yyerror(char *);
void fatal(const char *);
void abort_line(int);
+struct termios;
int gettty(struct termios *);
+void tstpcont(int);
unsigned char bc_eof(EditLine *, int);
extern int lineno;