summaryrefslogtreecommitdiff
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-12-08 23:09:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-12-08 23:09:47 +0000
commitb787f4023181f7cc1b54626b322be13f8ce91191 (patch)
treeb0ece7f2c0cc370200b966b4711fbb99509c5ff5 /usr.bin/awk/awk.h
parent10e6f9ecf815850bd14460f327e9dd04f67dc0be (diff)
June 6, 1999 version of the "one true awk"
Most of the changes are to avoid using a static buffer for error messages.
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index 630480704c9..2d42eb2a842 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: awk.h,v 1.7 1999/12/04 00:12:25 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.8 1999/12/08 23:09:45 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -39,12 +39,6 @@ typedef unsigned char uschar;
# define dprintf(x)
#endif
-extern char errbuf[300];
-#define ERROR snprintf(errbuf, sizeof(errbuf),
-#define FATAL ), error(1, errbuf)
-#define WARNING ), error(0, errbuf)
-#define SYNTAX ), yyerror(errbuf)
-
extern int compile_time; /* 1 if compiling, 0 if running */
extern int safe; /* 0 => unsafe, 1 => safe */