summaryrefslogtreecommitdiff
path: root/usr.bin/awk/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/awk/lib.c')
-rw-r--r--usr.bin/awk/lib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/awk/lib.c b/usr.bin/awk/lib.c
index be752fb986a..ecd33d5edea 100644
--- a/usr.bin/awk/lib.c
+++ b/usr.bin/awk/lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib.c,v 1.57 2024/05/05 02:55:34 jsg Exp $ */
+/* $OpenBSD: lib.c,v 1.58 2024/06/03 00:55:05 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -35,8 +35,6 @@ THIS SOFTWARE.
#include <math.h>
#include "awk.h"
-extern int u8_nextlen(const char *s);
-
char EMPTY[] = { '\0' };
FILE *infile = NULL;
bool innew; /* true = infile has not been read by readrec */
@@ -757,7 +755,7 @@ void WARNING(const char *fmt, ...)
error();
}
-void error()
+void error(void)
{
extern Node *curnode;