Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122AbdHFRI1 (ORCPT ); Sun, 6 Aug 2017 13:08:27 -0400 Received: from mail.kapsi.fi ([91.232.154.25]:54316 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343AbdHFRIY (ORCPT ); Sun, 6 Aug 2017 13:08:24 -0400 From: Mikko Rapeli To: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Cc: Mikko Rapeli , alsa-devel@alsa-project.org, Andrew Veliath , Riccardo Facchetti Subject: [PATCH v06 31/36] uapi linux/patchkey.h: change #error to #warning if file included directly Date: Sun, 6 Aug 2017 18:44:22 +0200 Message-Id: <20170806164428.2273-32-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170806164428.2273-1-mikko.rapeli@iki.fi> References: <20170806164428.2273-1-mikko.rapeli@iki.fi> X-SA-Exim-Connect-IP: 2003:6c:cd28:d400:219:d2ff:fe03:c7a9 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 25 Would be nice to be able to compile all userspace header files also alone. Signed-off-by: Mikko Rapeli Cc: alsa-devel@alsa-project.org Cc: Andrew Veliath Cc: Riccardo Facchetti --- 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