From patchwork Thu Apr 21 20:17:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903841 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 90758BF29F for ; Thu, 21 Apr 2016 20:16:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8EEE2026F 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 EBFEF20303 for ; Thu, 21 Apr 2016 20:16:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 063A26ED9B; Thu, 21 Apr 2016 20:16:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4542D6ED99 for ; Thu, 21 Apr 2016 20:16:37 +0000 (UTC) Received: by mail-wm0-x22c.google.com with SMTP id v188so258749608wme.1 for ; Thu, 21 Apr 2016 13:16:37 -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=BWwE38AFT9fB0XQ4QcaZaPDY/3sv8GIHPgv+5uA9Q1M=; b=Big4bAJWl0vUBi4O8TrvekQQ/PwChhlV4VAWSSXlzdWXCSUDB4iSHoej6DVtZEuoTx bgV1tY+Qswo9O7P0BBDxcKFxNkB5k/12SHGWPWUtrhbRzCdAk+I8s3ULKjyN0GrRzfxN uGLKdpKO1iyDrb05Gi5eMR/4FnOKjfY0Pqm0ajfG29JCnpXvaAROCnXkbblRiU1RHtJo /v9D26IeVqXpY9NYxf8zKyYDmobMY8AZ5fWhIozXgZmfG2K2KjZW3ah160DFEUhxMqU2 LRSrlk4z0ekhhc2Xk5U8TEHzazv8+hCLEnPe9ZQfJszlCt/6zNTHJCkp1t4hbfjlAZcA iJQg== 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=BWwE38AFT9fB0XQ4QcaZaPDY/3sv8GIHPgv+5uA9Q1M=; b=SfRHyRxjl+G5NFDEkF3rBjHuw7lMnrCXawtCq43kLz1ogedzj4pwvoB58p2Zro/t5B 34Mq6ibc+AAIPL9noqO0I5mGI5EpDZAiJVhhawPmfcOe/KeJTznPLBRafmVIdKEkfX12 yz9hj6miXgjjqGn+HB6Gn6qqkY5DAa/dKE1+WmB8Y6i3qEbPcYP1eEGOv/P7k6jtAfTN 1MYjyY4JXlAaxNbjAhqWs8yyocE5Xrw9d5oldcLZtOXULox458PB1AZtkUSFCWoyEPwZ 0Dgta9NkvKWgk+boQLTq3xS5P+l4pk4QXV0Ahh/LXt9QGH2xsDDYOk5bfLRHfNk1mKdM Nzmg== X-Gm-Message-State: AOPr4FXZR1tvQx05nw/+9bkKXqotSIgHtpUKIjZbjD1ibWdGBY2OoijFbj8PgCeviwo2ew== X-Received: by 10.28.238.15 with SMTP id m15mr39268133wmh.9.1461269795705; Thu, 21 Apr 2016 13:16:35 -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.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:35 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 17/24] drm/savage: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:30 +0100 Message-Id: <1461269857-12813-18-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/savage_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/savage_drm.h b/include/uapi/drm/savage_drm.h index 5741474..0f6edde 100644 --- a/include/uapi/drm/savage_drm.h +++ b/include/uapi/drm/savage_drm.h @@ -28,6 +28,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #ifndef __SAVAGE_SAREA_DEFINES__ #define __SAVAGE_SAREA_DEFINES__ @@ -209,4 +213,8 @@ union drm_savage_cmd_header { } clear1; /* SAVAGE_CMD_CLEAR data */ }; +#if defined(__cplusplus) +} +#endif + #endif