sync with OpenBSD -current

This commit is contained in:
purplerain 2024-06-03 17:41:29 +00:00
parent 0d61274b26
commit bef867f8da
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
81 changed files with 6365 additions and 372 deletions

View file

@ -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;