summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-03-16 18:38:31 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-03-16 18:38:31 +0000
commitae716892e1b0b04c4d372d360c51d9aa771f26bf (patch)
tree096e09e26195e233e96229724a6df4ef8689044d /include/stdio.h
parentd8ea0537d04586cf528af2e15cdbcbf0a122d6e6 (diff)
lint is dead (long live the lint!), so stop using it as a cpp conditional
(namespace pollution!) or talking about its opinion on code. ok krw@
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 76d2ad21ae7..6b90aa4c485 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdio.h,v 1.45 2013/12/04 22:58:24 deraadt Exp $ */
+/* $OpenBSD: stdio.h,v 1.46 2014/03/16 18:38:30 guenther Exp $ */
/* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */
/*-
@@ -437,7 +437,6 @@ extern int __isthreaded;
#define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp))
#endif /* __BSD_VISIBLE */
-#ifndef lint
#if __POSIX_VISIBLE >= 199506
#define getc_unlocked(fp) __sgetc(fp)
/*
@@ -448,7 +447,6 @@ extern int __isthreaded;
#define putc_unlocked(x, fp) __sputc(x, fp)
#endif /* __BSD_VISIBLE */
#endif /* __POSIX_VISIBLE >= 199506 */
-#endif /* lint */
#define getchar() getc(stdin)
#define putchar(x) putc(x, stdout)