Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Add stub defini...
details: https://anonhg.NetBSD.org/src/rev/608e731b7910
branches: riastradh-drm2
changeset: 788231:608e731b7910
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:50:07 2013 +0000
description:
Add stub definition of __must_check to <linux/kernel.h>.
diffstat:
sys/external/bsd/drm2/include/linux/kernel.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 2228fc5614b2 -r 608e731b7910 sys/external/bsd/drm2/include/linux/kernel.h
--- a/sys/external/bsd/drm2/include/linux/kernel.h Wed Jul 24 02:49:52 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/kernel.h Wed Jul 24 02:50:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.1.2.11 2013/07/24 02:49:52 riastradh Exp $ */
+/* $NetBSD: kernel.h,v 1.1.2.12 2013/07/24 02:50:07 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -37,6 +37,7 @@
#define __printf __printflike
#define __user
+#define __must_check /* __attribute__((warn_unused_result)), if GCC */
#define unlikely(X) __predict_false(X)
Home |
Main Index |
Thread Index |
Old Index