diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-11 23:01:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-11 23:01:41 +0000 |
commit | 3d2d0dd6e38a4a646756782494ce94ec825fd594 (patch) | |
tree | 58f60e118beb047eaba25e424d4e5ea9ead1a606 /usr.bin/xlint/llib | |
parent | fc4d67c279b2d8573673469d68082d1f7c280438 (diff) |
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@.
Diffstat (limited to 'usr.bin/xlint/llib')
-rw-r--r-- | usr.bin/xlint/llib/llib-lposix | 3 | ||||
-rw-r--r-- | usr.bin/xlint/llib/llib-lstdc | 3 |
2 files changed, 4 insertions, 2 deletions
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 <sys/types.h> #include <sys/stat.h> 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 <assert.h> #include <ctype.h> |