From patchwork Thu Apr 21 20:17:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903851 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 1214BBF440 for ; Thu, 21 Apr 2016 20:16:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B8252034E for ; Thu, 21 Apr 2016 20:16:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 000212034C for ; Thu, 21 Apr 2016 20:16:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3023B6ED9E; Thu, 21 Apr 2016 20:16:49 +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 6D7616EDA5 for ; Thu, 21 Apr 2016 20:16:33 +0000 (UTC) Received: by mail-wm0-x235.google.com with SMTP id v188so258747847wme.1 for ; Thu, 21 Apr 2016 13:16:33 -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=c+FKd5TtgEgqG8fG4c6IGgWmcXL6qW0IWEXkn59RlVU=; b=wa5kAGmERumixU3iFXWkMhimekSaJld14UsRTR8Wyi6YIzW2Cb1jAiHqsOs5JkxV95 a5zWWMrFIiJZEBFTQfl0jQ9iDnDjE+JSYU8QmBzaVmgvB8wpqxpoG2OSSeCyvGnOw/F8 6KmkU3hxGCJPde6VeIQoqlWzFwMKngFOolcgaKuahIpIY5xjFhE3ZkE5SWcBCoBK1e95 P82EyLGEllN7n/B8XxKpQCSOMmgt0W+rZhYF/MYRoajZ4NS07g0oaAzEwcGAxwth16pG 3n2nJQb/D+fIIEhwZlpLdxTSJvqTtVjyKjzJAb0Ru2JBXhnT1Ivb96WugRWdwHuZj9m8 +3JA== 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=c+FKd5TtgEgqG8fG4c6IGgWmcXL6qW0IWEXkn59RlVU=; b=kWK/3rdqClYsed14S9Z9eD4omVTmQZuCmiy3qCqDCG4nZbOWkJrSrbaBXaqh+pPs7a unaff+8RYp9z2Ry8Bbt40c71LD7/S1ARYZifjL6evJlpUV0eq3LU/Ia3T2vVc5SM2rfx ICBrjz9u1QaZAwXUapPjRqxDmPwxY1tzrIBnJF0OkcIhsv312YPIR6LqVFTfgU4mOPb6 nO8k0hXyspG6hWpzejC8MFICBicD7MIFjdjyZmnDA217iAUmvX8wcCjqy5pNsxj/56eq rCructoTE0dugoeWkIz6ZBwS5jocIovMGLo+Rh6b9pJQ8pIrm4x32WwKp4BFZb58LLJk I1Vg== X-Gm-Message-State: AOPr4FUlSI4AxkBRObVMjQ6r0doFIGfHCulhAAQbXzdkqQHYq5/lhZNbp6pKV0kb5R/EAQ== X-Received: by 10.194.85.161 with SMTP id i1mr18105593wjz.95.1461269791812; Thu, 21 Apr 2016 13:16:31 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:30 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 13/24] drm/qxl: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:26 +0100 Message-Id: <1461269857-12813-14-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: Dave Airlie , 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: Gerd Hoffmann Cc: Dave Airlie Signed-off-by: Emil Velikov --- include/uapi/drm/qxl_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h index 4d1e326..cd99da0 100644 --- a/include/uapi/drm/qxl_drm.h +++ b/include/uapi/drm/qxl_drm.h @@ -26,6 +26,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. * @@ -148,4 +152,8 @@ struct drm_qxl_alloc_surf { DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\ struct drm_qxl_alloc_surf) +#if defined(__cplusplus) +} +#endif + #endif