From: "Burakov, Anatoly" Subject: Re: [PATCH v2] eal: fix duplicate function declaration Date: Wed, 14 Nov 2018 11:24:06 +0000 Message-ID: References: <20181114112005.16378-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 mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 67F515398 for ; Wed, 14 Nov 2018 12:24:08 +0100 (CET) In-Reply-To: <20181114112005.16378-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:20 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 ("eal: export function to > get runtime directory"), 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 > > --- > v2: > - Fix commit message (checkpatch warning) > --- I was too late to ack the first one... Acked-by: Anatoly Burakov -- Thanks, Anatoly