From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] eal: fix duplicate function declaration Date: Wed, 14 Nov 2018 11:23:04 +0000 Message-ID: <75b5f8b2-353b-10d7-40b5-fb874acbba61@intel.com> References: <20181114111431.15942-1-kevin.laatz@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: thomas@monjalon.net To: Kevin Laatz , dev@dpdk.org Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F04B84CBB for ; Wed, 14 Nov 2018 12:23:06 +0100 (CET) In-Reply-To: <20181114111431.15942-1-kevin.laatz@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 14-Nov-18 11:14 AM, Kevin Laatz wrote: > The rte_eal_get_runtime_dir() function is currently being declared in two > header files. > > This API was made public in commit 6911c9fd8fbe, adding it to rte_eal.h. To > make it public, the 'rte' prefix was added to the function so it needed to > be modified in the original location of the declaration, eal_filesystem.h. > By only modifying, and not removing the decalration, it is now a duplicate. > > This patch removes the declaration from eal_filesystem.h. > > Fixes: 6911c9fd8fbe ("eal: export function to get runtime directory") > > Reported-by: Anatoly Burakov > Signed-off-by: Kevin Laatz > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly