Thread (89 messages) 89 messages, 13 authors, 2017-09-18
STALE3220d
Revisions (4)
  1. v03 [diff vs current]
  2. v4 [diff vs current]
  3. v05 [diff vs current]
  4. v06 current

[PATCH v06 31/36] uapi linux/patchkey.h: change #error to #warning if file included directly

From: Mikko Rapeli <hidden>
Date: 2017-08-06 17:08:27
Also in: alsa-devel, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Would be nice to be able to compile all userspace header files also alone.

Signed-off-by: Mikko Rapeli <redacted>
Cc: alsa-devel@alsa-project.org
Cc: Andrew Veliath <redacted>
Cc: Riccardo Facchetti <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help