aboutsummaryrefslogtreecommitdiff
path: root/sys.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2025-04-16 20:16:43 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2025-04-16 20:18:02 +0000
commitb3884193b7bd3977acc44790b6278b60517ad097 (patch)
treed3a58576a5bbfb38982096462194e26a33aca620 /sys.h
parent5a36c82614102a8c3926bca0bdb9d44149691be8 (diff)
Diffstat (limited to 'sys.h')
-rw-r--r--sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys.h b/sys.h
index 5395531a298f..67bfcb535939 100644
--- a/sys.h
+++ b/sys.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sys.h,v 1.28 2023/02/04 14:34:28 christos Exp $ */
+/* $NetBSD: sys.h,v 1.29 2023/04/25 17:51:32 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#include <sys/cdefs.h>
#endif
-#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
+#if !defined(__attribute__) && !defined(__lint__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __attribute__(A)
#endif