From patchwork Thu Apr 21 20:17:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903881 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 A9A909F457 for ; Thu, 21 Apr 2016 20:16:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 240932034C for ; Thu, 21 Apr 2016 20:16:56 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 76C7C2026F for ; Thu, 21 Apr 2016 20:16:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC8C56EDA6; Thu, 21 Apr 2016 20:16:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8C5666ED91 for ; Thu, 21 Apr 2016 20:16:36 +0000 (UTC) Received: by mail-wm0-x231.google.com with SMTP id e201so99504884wme.0 for ; Thu, 21 Apr 2016 13:16:36 -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 :mime-version:content-transfer-encoding; bh=3X9S7vdAACbnNwEwa53GwQZM/v3z8gAY0wuveDBku3A=; b=FGZzXU9pue13am36s/YTqFK5oueLnmFoMvf/AS7Dvv6MsSPdCPNdqMB3m3mvZfVGPR QjCxFoH71mHJvuqqMYICyj1fg/mFcbclA3dW4W9c2/W0OV0Fy+9GzKgqwmsyeLTCyE6X P/zFe4PEsMxxDNioJxOqYMRV+Xgdhmzh770yH9LHnFiIdXxm/A0wVkXEjiNGpxiZCxwn zaAKZLerE+ROPfzY8JST/sQGLgckmNc69UX1PqJdQbjH4S5mQLmFnvsaaFnPxT4TveLj 9ebBcLZN/laKyTYIdgOhbyoJ+ZHf/cqLF5cn/Ei+TMb1KFJCkHMV/JPAzzXbFBc1tq1R cOBg== 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:mime-version:content-transfer-encoding; bh=3X9S7vdAACbnNwEwa53GwQZM/v3z8gAY0wuveDBku3A=; b=ay/4Gb8FRoUxF0+6Qvlu6MFlvsLsK/fDujTRv0Qah49x6RuYuVnJ+PiWx1KZrN+mun +3fqaYmfeyXQ/q7H+PHSDfrq7IN8nqyjpl9c9V9tXAVshE7DxbkTnEommFCKwHFbTYDQ IHqB4gMblNTjEtnG/rM+nqAstVK0T+5WhgHgHneRk+VTwl08pV/I6oFWPVj4xpofD/wg w9PwvY8aaLbZc9/aqijUgvYd77yVYtChwdQ3rLlmWUD7XaMrTbONiBLdAQBxlin/o0/k Z1KDj5m+mPUtTYlVsuJ47zRDRvS3GhksX/KhIC7hfyufCmnMC9sskYP4Q/MIRSQ30WrB 08AA== X-Gm-Message-State: AOPr4FXuQHQzgy25psZl5ZMDRQkXV08MTBgnDgpBVWncnseqqUEZwUtqK9DXUqHmTbpCOQ== X-Received: by 10.194.92.132 with SMTP id cm4mr16370208wjb.25.1461269794794; Thu, 21 Apr 2016 13:16:34 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:34 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 16/24] drm/radeon: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:29 +0100 Message-Id: <1461269857-12813-17-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> MIME-Version: 1.0 Cc: Alex Deucher , emil.l.velikov@gmail.com, =?UTF-8?q?Christian=20K=C3=B6nig?= 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: , 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: Alex Deucher Cc: Christian König Signed-off-by: Emil Velikov --- include/uapi/drm/radeon_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index ccb9bcd..490a59c 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/drm/radeon_drm.h @@ -35,6 +35,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* WARNING: If you change any of these defines, make sure to change the * defines in the X server file (radeon_sarea.h) */ @@ -1067,4 +1071,8 @@ struct drm_radeon_info { #define CIK_TILE_MODE_DEPTH_STENCIL_1D 5 +#if defined(__cplusplus) +} +#endif + #endif