From patchwork Thu Apr 21 20:17:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903931 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1ED8E9F457 for ; Thu, 21 Apr 2016 20:17:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5363020303 for ; Thu, 21 Apr 2016 20:17:14 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 88DE42026D for ; Thu, 21 Apr 2016 20:17:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B25176EDA5; Thu, 21 Apr 2016 20:17:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) by gabe.freedesktop.org (Postfix) with ESMTPS id BE7F36ED9B for ; Thu, 21 Apr 2016 20:16:43 +0000 (UTC) Received: by mail-wm0-x235.google.com with SMTP id u206so150010770wme.1 for ; Thu, 21 Apr 2016 13:16:43 -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=TQrcX/MvE0ka7T+97rWaEuVSFJkelgAToeXzzjBDmH4=; b=ilS+dhij1MPYkM1LpdKJTZFYdSIzmQeBVOnYZPAB54mM8NPTx/rhcw4Ny646ddzsm0 O4n/YRMHxV7ltRTMO8yypBDuOOAAnO93AGGfBokZgMiTseATBQQdn7K+Bp+n+w1rrFrS sTlGlNicErGWP0+qwWkCOblNWEweKsOT315lS8tAcDKgrkCtdhH5WHJL2YXXlIdOrXJS wtnFYIvpNPK+zFAD7RZdwPLeWBaX9B+ZVbH6lW92pwuNPPZDlbPVxUqf5GJXCyHNjwwH heJeWrF68uDIxLKMjUP6MATh9D1+ZdlyCEJWNC1Kq2N7L3rLawzQWGJbOlgaDR/80sGr 5wqw== 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=TQrcX/MvE0ka7T+97rWaEuVSFJkelgAToeXzzjBDmH4=; b=ZuUyG8JRs4nIu4bkwguD8ZZNHgHQij2r/oZjCwD3PJ3z84ID4fJ3sNl6yqVFTLS5cC 8Pa8TUI7T2PorXOdqv49yVfMz0MiQtxm0rgJ6zLKt2MoqfoGjV3SSBdNd6RLIxBrSM93 ZY9n/XodenM+OBL5112SQ38Pr71cjSDkpljaFkYzYf+pS37djCViFk+4atPDNvVrsgGR CinueF1sMTqDzR2Ui6TwnrzBHYL3DMYWvUr6iFO75gxZhjgI7MtHz2UrwGC2ok1Sfidy 197xMaGBEWbd8JqP15TjKuPnLqdnTBFf5Ofeg1N/nM/knEbLtq9xXlo18Je4nrvRrcKB G32w== X-Gm-Message-State: AOPr4FWWtxg+2r7p/sgtJ/ZdHHqiTZ1TYoHSyHZmq3BIZrtqRMZAjyzycgpclCRxKPc6Vg== X-Received: by 10.28.177.132 with SMTP id a126mr27954907wmf.86.1461269801830; Thu, 21 Apr 2016 13:16:41 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:41 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 24/24] drm/vmwgfx: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:37 +0100 Message-Id: <1461269857-12813-25-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: Brian Paul , Thomas Hellstrom , 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: Sinclair Yeh Cc: Thomas Hellstrom Cc: Brian Paul Signed-off-by: Emil Velikov --- include/uapi/drm/vmwgfx_drm.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index 5b68b4d..d325a41 100644 --- a/include/uapi/drm/vmwgfx_drm.h +++ b/include/uapi/drm/vmwgfx_drm.h @@ -30,6 +30,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_VMW_MAX_SURFACE_FACES 6 #define DRM_VMW_MAX_MIP_LEVELS 24 @@ -1087,4 +1091,9 @@ union drm_vmw_extended_context_arg { enum drm_vmw_extended_context req; struct drm_vmw_context_arg rep; }; + +#if defined(__cplusplus) +} +#endif + #endif