From patchwork Thu Apr 21 20:17:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903901 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 E04CCBF29F for ; Thu, 21 Apr 2016 20:17:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D14A20357 for ; Thu, 21 Apr 2016 20:17:12 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id CFCF220270 for ; Thu, 21 Apr 2016 20:17:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 26FD56EDA2; 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-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 313F76ED9A for ; Thu, 21 Apr 2016 20:16:38 +0000 (UTC) Received: by mail-wm0-x234.google.com with SMTP id u206so150007564wme.1 for ; Thu, 21 Apr 2016 13:16:38 -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=UE8Pd3/3AF6bHi63hXTaUXZ0Iwr83oaKbN4hV21VL1c=; b=jQjpeoB29wInKWuHl+OXlMSnl1dlg2GZ0D1Y9POGnws3HajGoEV5KD85ZoHtcVS15F YEt8s53hQWNhvihU3Bs8HsNpBRGd1JqyTXZe5RiOujGPyQVb7kxadupY5ypPZTl2JElH dDIqWgzk8hyUsgUrdw91dQSUB2WeLffFklXV0dy0/O4H1PkLudz4n59gQnX2mUQ5E3LX MazvbWmeWLJ/dQRsurMr+bb5CA/LniDEoA2ApwJTw7V7X7O94Aqo3Buc42teUsrtF5hf Va8PYQzetAkGgs0nUGnTnWlt9owrxPKxudw0VQdCOMSBN/0v1eSbe6ab/rgxTtuG/CIw HsNA== 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=UE8Pd3/3AF6bHi63hXTaUXZ0Iwr83oaKbN4hV21VL1c=; b=BKR6j4j/rIEmXLPH5A1tY0Y6LdMhw6K5mzAFjmL7msV56ZPx/v3XPlpRU+AKYVoS70 xp04NFg+eyeZLj+XbBwwq6CRTDfte3K0MsEj1fuws/JzmTex35PAgERDaFi5a8qf59he /GadKYlqLFE64vtIKLGUh4mvFa7uuoqSqq4uQvmn0gusVoTpToLih5dAdGcHeNA6XtBO jZfhR/4Z332Bw793WP2209e2FhkBImBlRYt4qD5fZ/pWWJzcOp1wlAYHIIC5cdQX8pdR DhcKr8AngUOvHzogapMM3NIOsahIm5PhlU6YE30744GwYLLnq9puD4PqRaHT9h+XlsO0 bsig== X-Gm-Message-State: AOPr4FXQGGaXpVn0UrMFtYOiYOiQiMzXrKCe2S/wh+jQfoG2KpH8S05Yg7u1wpmvtEKk+g== X-Received: by 10.28.92.69 with SMTP id q66mr18164623wmb.102.1461269796547; Thu, 21 Apr 2016 13:16:36 -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.35 (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 18/24] drm/sis: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:31 +0100 Message-Id: <1461269857-12813-19-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/sis_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h index 374858c..3f7d8ca 100644 --- a/include/uapi/drm/sis_drm.h +++ b/include/uapi/drm/sis_drm.h @@ -27,6 +27,10 @@ #ifndef __SIS_DRM_H__ #define __SIS_DRM_H__ +#if defined(__cplusplus) +extern "C" { +#endif + /* SiS specific ioctls */ #define NOT_USED_0_3 #define DRM_SIS_FB_ALLOC 0x04 @@ -64,4 +68,8 @@ typedef struct { unsigned long offset, size; } drm_sis_fb_t; +#if defined(__cplusplus) +} +#endif + #endif /* __SIS_DRM_H__ */