[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170806164428.2273-32-mikko.rapeli@iki.fi>
Date: Sun, 6 Aug 2017 18:44:22 +0200
From: Mikko Rapeli <mikko.rapeli@....fi>
To: linux-kernel@...r.kernel.org, linux-api@...r.kernel.org
Cc: Mikko Rapeli <mikko.rapeli@....fi>, alsa-devel@...a-project.org,
Andrew Veliath <andrewtv@....net>,
Riccardo Facchetti <fizban@....it>
Subject: [PATCH v06 31/36] uapi linux/patchkey.h: change #error to #warning if file included directly
Would be nice to be able to compile all userspace header files also alone.
Signed-off-by: Mikko Rapeli <mikko.rapeli@....fi>
Cc: alsa-devel@...a-project.org
Cc: Andrew Veliath <andrewtv@....net>
Cc: Riccardo Facchetti <fizban@....it>
---
include/uapi/linux/patchkey.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/patchkey.h b/include/uapi/linux/patchkey.h
index 1bda0e56bc5e..cee195d6d826 100644
--- a/include/uapi/linux/patchkey.h
+++ b/include/uapi/linux/patchkey.h
@@ -11,7 +11,7 @@
*/
#ifndef _LINUX_PATCHKEY_H_INDIRECT
-#error "patchkey.h included directly"
+#warning "patchkey.h included directly"
#endif
#ifndef _UAPI_LINUX_PATCHKEY_H
--
2.13.3
Powered by blists - more mailing lists