From 3d2d0dd6e38a4a646756782494ce94ec825fd594 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 11 Dec 2002 23:01:41 +0000 Subject: Convert ctype.h macros into inline functions. This fixes the issues we currently have with the macro versions and makes the ctype.h versions 100% identical to what is in libc. Discussed with pjanzen@ and OK'd by deraadt@. --- usr.bin/xlint/llib/llib-lposix | 3 ++- usr.bin/xlint/llib/llib-lstdc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.bin/xlint/llib') diff --git a/usr.bin/xlint/llib/llib-lposix b/usr.bin/xlint/llib/llib-lposix index 99645c659eb..5461423444f 100644 --- a/usr.bin/xlint/llib/llib-lposix +++ b/usr.bin/xlint/llib/llib-lposix @@ -1,4 +1,4 @@ -/* $OpenBSD: llib-lposix,v 1.2 1996/06/26 05:44:28 deraadt Exp $ */ +/* $OpenBSD: llib-lposix,v 1.3 2002/12/11 23:01:40 millert Exp $ */ /* $NetBSD: llib-lposix,v 1.2 1995/07/03 21:25:09 cgd Exp $ */ /* @@ -35,6 +35,7 @@ /* LINTLIBRARY */ #define _POSIX_SOURCE +#define _ANSI_LIBRARY #include #include diff --git a/usr.bin/xlint/llib/llib-lstdc b/usr.bin/xlint/llib/llib-lstdc index b75589b72d5..c1f19e8daeb 100644 --- a/usr.bin/xlint/llib/llib-lstdc +++ b/usr.bin/xlint/llib/llib-lstdc @@ -1,4 +1,4 @@ -/* $OpenBSD: llib-lstdc,v 1.3 1997/02/17 08:58:50 deraadt Exp $ */ +/* $OpenBSD: llib-lstdc,v 1.4 2002/12/11 23:01:40 millert Exp $ */ /* $NetBSD: llib-lstdc,v 1.3 1995/07/03 21:39:28 cgd Exp $ */ /* @@ -35,6 +35,7 @@ /* LINTLIBRARY */ #define _ANSI_SOURCE +#define _ANSI_LIBRARY #include #include -- cgit v1.2.3