summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2004-07-01 22:31:28 +0000
committerkleink <kleink@NetBSD.org>2004-07-01 22:31:28 +0000
commit11f7fb5f29fecfb5cbaec03836b1a0bf0a098e4f (patch)
tree7691029ec6d8f29eb0311af392600ef629c7a782 /include
parentc62dff1bf71b37d618d72ee2abb40b8c068105d7 (diff)
Tidy up the namespace: lint -> __lint__.
Diffstat (limited to 'include')
-rw-r--r--include/assert.h14
-rw-r--r--include/stdio.h6
2 files changed, 10 insertions, 10 deletions
diff --git a/include/assert.h b/include/assert.h
index b17d432ee07..aad757a707f 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -1,4 +1,4 @@
-/* $NetBSD: assert.h,v 1.16 2004/05/18 21:03:08 kleink Exp $ */
+/* $NetBSD: assert.h,v 1.17 2004/07/01 22:31:28 kleink Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -47,11 +47,11 @@
#undef assert
#ifdef NDEBUG
-# ifndef lint
+# ifndef __lint__
# define assert(e) (__static_cast(void,0))
-# else /* !lint */
+# else /* !__lint__ */
# define assert(e)
-# endif /* lint */
+# endif /* __lint__ */
#else /* !NDEBUG */
# if __STDC__
# define assert(e) \
@@ -66,11 +66,11 @@
#undef _DIAGASSERT
#if !defined(_DIAGNOSTIC)
-# if !defined(lint)
+# if !defined(__lint__)
# define _DIAGASSERT(e) (__static_cast(void,0))
-# else /* !lint */
+# else /* !__lint__ */
# define _DIAGASSERT(e)
-# endif /* lint */
+# endif /* __lint__ */
#else /* _DIAGNOSTIC */
# if __STDC__
# define _DIAGASSERT(e) \
diff --git a/include/stdio.h b/include/stdio.h
index ccc28baa567..db8e6c9542b 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.55 2004/05/10 16:53:56 drochner Exp $ */
+/* $NetBSD: stdio.h,v 1.56 2004/07/01 22:31:28 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -438,7 +438,7 @@ static __inline int __sputc(int _c, FILE *_p) {
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
#define __sfileno(p) ((p)->_file)
-#ifndef lint
+#ifndef __lint__
#if !defined(_REENTRANT) && !defined(_PTHREADS)
#define feof(p) __sfeof(p)
#define ferror(p) __sferror(p)
@@ -447,7 +447,7 @@ static __inline int __sputc(int _c, FILE *_p) {
#define getc(fp) __sgetc(fp)
#define putc(x, fp) __sputc(x, fp)
#endif /* !_REENTRANT && !_PTHREADS */
-#endif /* lint */
+#endif /* __lint__ */
#define getchar() getc(stdin)
#define putchar(x) putc(x, stdout)