From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 8F62A9A9E for ; Mon, 18 May 2015 10:18:11 +0200 (CEST) Received: by wgfl8 with SMTP id l8so26401868wgf.2 for ; Mon, 18 May 2015 01:18:11 -0700 (PDT) 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=nTK6j0WGJ/X0CKIdXORpP5bvI1JnyU1HwlpSa5cxpDw=; b=TsEyYcQfQaDWPErGxHIAtjRANYlXUfFkamTzybZnbOyPJitB+PUjRUeZOl9eVTI1TN YencZ06FiVfa8ndrOjU0jLPWq/AWwI4hXQ+2T17YChYzFZi4x94X/5S1VkFSpfnwL0U0 6r1rmlVWE47mzZeMafL8QgvXfXIx4gLKfedQfX4BzTgeUo/BmR1Mbosx6M+A7jRXufUw Z8S8LkL6mnq+1wXurAaSj/AZdm4Mefrv3vLRUMbRuhBPdlwMNaw/1Dg7NuhmGBOWpTCJ X0QhjIBIXnXBZff4M8AY0m17WIVNMqTu9VTwF5GA0ekOelwigaGfvOeGzU0SyPRvj8NJ leTw== X-Gm-Message-State: ALoCoQm2XPxNtxF+f/2hYXyYVFXH/dUKbn1LpBF704b048Ygmm3seb1XQD0ch7A8ia+haIsMp3t9 X-Received: by 10.194.200.228 with SMTP id jv4mr41012216wjc.157.1431937091488; Mon, 18 May 2015 01:18:11 -0700 (PDT) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ck16sm7664735wjb.37.2015.05.18.01.18.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 May 2015 01:18:10 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Date: Mon, 18 May 2015 10:17:58 +0200 Message-Id: <1431937081-20083-2-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431937081-20083-1-git-send-email-olivier.matz@6wind.com> References: <1431937081-20083-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 1/4] examples/bond: fix compilation with clang X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 08:18:11 -0000 Fix the following compilation error: examples/bond/main.c:717:1: error: control reaches end of non-void function [-Werror,-Wreturn-type] The prompt() function does not return anything, so fix its prototype to be void. Signed-off-by: Olivier Matz --- examples/bond/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bond/main.c b/examples/bond/main.c index e90dc1d..4622283 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -705,7 +705,7 @@ cmdline_parse_ctx_t main_ctx[] = { }; /* prompt function, called from main on MASTER lcore */ -static void *prompt(__attribute__((unused)) void *arg1) +static void prompt(__attribute__((unused)) void *arg1) { struct cmdline *cl; -- 2.1.4