From eb58f0f1a85857ed4be993a454e8aafed1b43b58 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 11 Nov 2001 02:48:09 +0000 Subject: Fixed namespace pollution related to `err' in libc in the same way as for `warn'. Now a whole 2 members of the err() family don't cause pollution. This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c has had its own version of err() for a long time, but this somehow didn't cause problems until the update to awk-3.1.0. --- lib/libc/include/namespace.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc/include/namespace.h') diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 9d01520..68babbe 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -38,6 +38,7 @@ * ISO C (C90) section. Most names in libc aren't in ISO C, so they * should be here. Most aren't here... */ +#define err _err #define warn _warn /* -- cgit v1.1