summaryrefslogtreecommitdiff
path: root/usr.bin/bc/extern.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2011-03-07 08:11:16 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2011-03-07 08:11:16 +0000
commit88df5224b893792a08287f595b31c2757fc6feec (patch)
tree39cdfdb056c4e9f6741a6e766705123df51d9c23 /usr.bin/bc/extern.h
parent8bb63358ad45727465dc6af2e3781463e5d46e84 (diff)
add editline support; from freebsd. ok deraadt@
Diffstat (limited to 'usr.bin/bc/extern.h')
-rw-r--r--usr.bin/bc/extern.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/bc/extern.h b/usr.bin/bc/extern.h
index 9ca6a175ab4..0f404065381 100644
--- a/usr.bin/bc/extern.h
+++ b/usr.bin/bc/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.6 2006/03/18 20:44:43 otto Exp $ */
+/* $OpenBSD: extern.h,v 1.7 2011/03/07 08:11:15 otto Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -35,5 +35,10 @@ extern int fileindex;
extern int sargc;
extern char **sargv;
extern char *filename;
+extern bool interactive;
+extern EditLine *el;
+extern History *hist;
+extern HistEvent he;
extern char *cmdexpr;
+
bool interactive;