From patchwork Mon Feb 23 13:57:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 5865601 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 EB745BF440 for ; Mon, 23 Feb 2015 13:54:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3837620645 for ; Mon, 23 Feb 2015 13:54:55 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1255320648 for ; Mon, 23 Feb 2015 13:54:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 024406E357; Mon, 23 Feb 2015 05:54:53 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by gabe.freedesktop.org (Postfix) with ESMTP id F07A06E3F4 for ; Mon, 23 Feb 2015 05:54:51 -0800 (PST) Received: by mail-wi0-f169.google.com with SMTP id em10so19677932wid.0 for ; Mon, 23 Feb 2015 05:54:51 -0800 (PST) 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-type:content-transfer-encoding; bh=cR2R3itA7F7vCh2kApJy/hwyC9c8kzA/2phpvCONRTs=; b=l5VtrjoraRZCu/Jk6Kji5cMbHqPdJOLcBqihzMRlPsnKOm3em8YncaJ0RzCzm943Np 5ChrnbaaUt+9fUSOABq/M83MAQTHOnLpZHKH/9kWSnb7tPpaoGURrbuyDpCV6Ssw8rns sF+/mYBn/YgSHBOgqQBfQTRZiFAHnzanrJ9bxhSxJTZq4YzOm4BY6ZnTuzJ7rVksq3LJ KGwEu1LBPYX2wRsz5teMOBFFP9dMgpM04F5O4m04aONoMWfkYcD7luLbXfh2u4j7+0GD +N25C9QK5+X3ReuTzCw1EMedud2E66+CykhuwHDcn/bF/Vqps67I1crpmmC66yqo+hV+ D45g== X-Received: by 10.180.211.101 with SMTP id nb5mr20072820wic.37.1424699691412; Mon, 23 Feb 2015 05:54:51 -0800 (PST) Received: from arch-x220.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by mx.google.com with ESMTPSA id ev7sm55689045wjb.47.2015.02.23.05.54.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Feb 2015 05:54:50 -0800 (PST) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 2/4] exynos_fimg2d_test: fix implicit funciton declaration errors Date: Mon, 23 Feb 2015 13:57:40 +0000 Message-Id: <1424699862-4077-3-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.3.0 In-Reply-To: <1424699862-4077-1-git-send-email-emil.l.velikov@gmail.com> References: <1424699862-4077-1-git-send-email-emil.l.velikov@gmail.com> MIME-Version: 1.0 Cc: Kyungmin Park , 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 As one adds WARN_CFLAGS to the build the compiler throws a couple of lovely error messages. Add the relevant includes to fix them. error: implicit declaration of function ‘time’ error: implicit declaration of function ‘getopt’ Cc: Inki Dae Cc: Kyungmin Park Signed-off-by: Emil Velikov --- tests/exynos/exynos_fimg2d_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index c6bd558..f141964 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c @@ -18,6 +18,8 @@ #include #include #include +#include +#include #include #include