From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0794EC652 for ; Thu, 18 Jun 2015 15:09:34 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 18 Jun 2015 06:09:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,638,1427785200"; d="scan'208";a="745823915" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga002.fm.intel.com with ESMTP; 18 Jun 2015 06:09:33 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.117]) by irsmsx110.ger.corp.intel.com ([163.33.3.25]) with mapi id 14.03.0224.002; Thu, 18 Jun 2015 14:09:32 +0100 From: "Gajdzica, MaciejX T" To: Thomas Monjalon , "Wodkowski, PawelX" Thread-Topic: [dpdk-dev] [PATCH v2 6/6] cfgfile: added new implementation of section parsing Thread-Index: AQHQqcO4UiTBtaNZmUGX7yfQRxIaVJ2yPFAA Date: Thu, 18 Jun 2015 13:09:31 +0000 Message-ID: <9CC680510C0AC140A846FED2EF7F96281383DF2C@IRSMSX102.ger.corp.intel.com> References: <1434552528-3576-1-git-send-email-maciejx.t.gajdzica@intel.com> <1434552528-3576-7-git-send-email-maciejx.t.gajdzica@intel.com> <204960506.lHyBl00jkv@xps13> In-Reply-To: <204960506.lHyBl00jkv@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 6/6] cfgfile: added new implementation of section parsing 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: Thu, 18 Jun 2015 13:09:36 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Thursday, June 18, 2015 2:37 PM > To: Wodkowski, PawelX > Cc: dev@dpdk.org; Gajdzica, MaciejX T > Subject: Re: [dpdk-dev] [PATCH v2 6/6] cfgfile: added new implementation = of > section parsing >=20 > 2015-06-17 16:48, Maciej Gajdzica: > > + char *start =3D _skip_spaceses(str); >=20 > Why not use a function with "char *" parameter instead of a macro? I agree, function will be better than macro, will fix that in next version Best Regards Maciek