From patchwork Thu Apr 21 20:17:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903731 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B55ABBF29F for ; Thu, 21 Apr 2016 20:16:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E59542034E for ; Thu, 21 Apr 2016 20:16:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id AD70F20303 for ; Thu, 21 Apr 2016 20:16:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C78456E1B5; Thu, 21 Apr 2016 20:16:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9AEB06ED91 for ; Thu, 21 Apr 2016 20:16:27 +0000 (UTC) Received: by mail-wm0-x22f.google.com with SMTP id v188so258745290wme.1 for ; Thu, 21 Apr 2016 13:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EKU2/GihHZszttOdxq8nVKyLb6r5prry8/oAiMkDbUc=; b=h321qCaQn4GsAsnMRlyt6o5tT5HLaMDu0+oRiTYvWvKhEWyB73kNb2uib1Vhrn79gm HyVoUYhwZFb0cDP+jmgrKJdBAC/ZWeYGcTkNcepKJfOUcDiGmW3B8rVY6jBQFFn/Oo31 V22ROKKv3yXJhz3JJnwRFZr2rq+bAqgzugDR3vY2wxwB5PVI6Pdy4dmKCOLzFZTK77EW +cJ3sEMvYiv1PCofMZGXT9a0R7DE5FM7/3TcKu8CsLkpIZHC7Nh5gSb53BtaBRKE9Tju rX/TGGA911SkGVrwjzu6zEGOWmy6b9U+J7YjbY5wecHr2TgWkQGADwk/x3w9ueu4rEAF 84mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EKU2/GihHZszttOdxq8nVKyLb6r5prry8/oAiMkDbUc=; b=iXWK4EKJSMXBrSdevLfZp5UlCWn9ip5sx3bV7ai0nGcsk+6+Ks2KHC25DTYIZoirax /OHCdHZIWWPu2HrJEKl2fMoJet8pdNr10XYL0cp4ohz4cBVionRfIe34Pw5SiCDT7VG/ gP3OOWWTdjWDrNv5rFWKze84sktVUwJOt8qvfFBvZU4XL7heGkj/I59TUBybLwTxidS/ Yb05bwN38fh4la+bfqa1Hw0J8DgBpyyaiS6njSljo/2j2fWNZTOsUHX4AHUqu0a9dcFA LCmOJb3eRh9bM7UjEwxRzZYJ9vicTrV2zU8ds9lh+LuUBFCwvGSbqliF5jlQh/mgMamU i8gw== X-Gm-Message-State: AOPr4FUSN41iRpNfWz1IvHVfOCcYm4H09xP1Ncrt3MZRM2Y7FUG6KowB3gQ0WpVcTqaZkw== X-Received: by 10.194.92.107 with SMTP id cl11mr18839727wjb.21.1461269786126; Thu, 21 Apr 2016 13:16:26 -0700 (PDT) Received: from arch-laptop.localdomain (cpc98192-croy26-2-0-cust395.19-2.cable.virginm.net. [82.32.159.140]) by smtp.gmail.com with ESMTPSA id ry15sm4486004wjb.19.2016.04.21.13.16.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:25 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 07/24] drm/i915: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:20 +0100 Message-Id: <1461269857-12813-8-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> References: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> Cc: Daniel Vetter , emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: Daniel Vetter Cc: Jani Nikula Signed-off-by: Emil Velikov --- include/uapi/drm/i915_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index a5524cc..c17d63d 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -29,6 +29,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* Please note that modifications to all structs defined here are * subject to backwards-compatibility constraints. */ @@ -1170,4 +1174,8 @@ struct drm_i915_gem_context_param { __u64 value; }; +#if defined(__cplusplus) +} +#endif + #endif /* _UAPI_I915_DRM_H_ */