From patchwork Thu Apr 21 20:17:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903961 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 2DD449F457 for ; Thu, 21 Apr 2016 20:19:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F0C120149 for ; Thu, 21 Apr 2016 20:19:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9354920131 for ; Thu, 21 Apr 2016 20:19:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 619BF6EDA7; Thu, 21 Apr 2016 20:19:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) by gabe.freedesktop.org (Postfix) with ESMTPS id ADB696ED9A for ; Thu, 21 Apr 2016 20:16:35 +0000 (UTC) Received: by mail-wm0-x229.google.com with SMTP id u206so150006157wme.1 for ; Thu, 21 Apr 2016 13:16:35 -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=l891T47bkGHqvv92dAGaP42gUNWTcmPOF+Xx376SPkw=; b=rV6EaVWBNK1n2d+Wwmd3B6WPDul54jQLwJ3HJMJhGTFC8zv1Hcf5uNLU63+uk2LHiE RmPfZD7A4JPjfu68QkNjS7idnsG/fBYu7i55wVVxG4pEMxI157Bd8BIzDWTbrlc7m73T P1wxvdBr+pKsyv/DUuYz9/0EUcLeIOr0+wtBAsOKsqZtMQB4fA1TedgEBtfcUu0dB/ch OV6D5+AC6x/Hwfk96KzXIKycgpQ6tpg7FCMdYL+cq/dWjSE25DzzaMWua7AEXZbG0p4l yK32GKb4TfgDGOaPMIccFab4Htols+U0FOePqG358CujgUcS8FSzbtz8+xV9sjFK+lSA OzzA== 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=l891T47bkGHqvv92dAGaP42gUNWTcmPOF+Xx376SPkw=; b=KfK1f64crjTs/KzKQqRLF1Fd0t6xq6SnxzW5F60rwrt89E8cVtB5cQPzAk0aT+mze1 KAxypInTxHX5pa2CM+qqPDv45DjSwq521c3qA9x8q3oay7EgpHEWy4TvP5SPwe7a1Tyg 7DjZ3xzYaor7A6OrCRzSs+lGNekRZcvxIc3reIT6/lQI27IbjpL+GuEqcaj6lwZlrbW2 zcDDx8WoW3R78VmQrJuBCcaQ2aO9qk6jEEjIFw/Ok0gQaPFDuN7p0SQaGPQrYW+Fsn0x I0HlOZZuFe16CSfXZ7hB0gH+qIY4w0pxShyOmT/i+HV/wWG0hTaMeZqgWKPDITF+dPiC pbIg== X-Gm-Message-State: AOPr4FXMo6Rqq2GxsQcCITuZ6Ieg2oiBDgCDGcx6wezWSnKcrJR6wUlA1FRugbglKzxEbg== X-Received: by 10.194.43.170 with SMTP id x10mr16434458wjl.73.1461269793883; Thu, 21 Apr 2016 13:16:33 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:32 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 15/24] drm/r128: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:28 +0100 Message-Id: <1461269857-12813-16-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: 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 Signed-off-by: Emil Velikov --- include/uapi/drm/r128_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/r128_drm.h b/include/uapi/drm/r128_drm.h index 7a44c65..690e9c6 100644 --- a/include/uapi/drm/r128_drm.h +++ b/include/uapi/drm/r128_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 (r128_sarea.h) */ @@ -325,4 +329,8 @@ typedef struct drm_r128_getparam { void __user *value; } drm_r128_getparam_t; +#if defined(__cplusplus) +} +#endif + #endif