Re: [Nbd] [PATCH] nbd-server: use modern alternative to legacy index() function
- To: Peter Korsgaard <jacmet@...726...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [PATCH] nbd-server: use modern alternative to legacy index() function
- From: Wouter Verhelst <w@...112...>
- Date: Tue, 6 Dec 2011 09:52:13 +0100
- Message-id: <20111206085213.GB11507@...3...>
- In-reply-to: <1323124842-18828-1-git-send-email-jacmet@...726...>
- References: <1323124842-18828-1-git-send-email-jacmet@...726...>
On Mon, Dec 05, 2011 at 11:40:42PM +0100, Peter Korsgaard wrote:
> index() was marked as obsolete by susv3, and isn't available on uClibc
> in some configurations, so use the equivalent strchr() instead:
>
> http://pubs.opengroup.org/onlinepubs/009695399/functions/index.html
>
> Signed-off-by: Peter Korsgaard <jacmet@...726...>
Thanks, applied.
--
The volume of a pizza of thickness a and radius z can be described by
the following formula:
pi zz a
Reply to: