diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2024-06-03 00:55:06 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2024-06-03 00:55:06 +0000 |
commit | 0c16bb58c3770df3acca6b47a63779bccbdff845 (patch) | |
tree | 138e693b8f96e921f2bc7e5d140321152b983f2a /usr.bin/awk/lib.c | |
parent | 74f9ff41209057127f64a4aae9a6960b9b73fb61 (diff) |
Build with WARNINGS=Yes and fix resulting warnings.
Diffstat (limited to 'usr.bin/awk/lib.c')
-rw-r--r-- | usr.bin/awk/lib.c | 6 |
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; |