From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 9 Jul 2012 18:35:09 +0200 Subject: [U-Boot] [PATCH v2 3/7] dfu: DFU backend implementation In-Reply-To: <1341416922-13792-4-git-send-email-l.majewski@samsung.com> References: <1341308291-14663-1-git-send-email-l.majewski@samsung.com> <1341416922-13792-1-git-send-email-l.majewski@samsung.com> <1341416922-13792-4-git-send-email-l.majewski@samsung.com> Message-ID: <201207091835.10057.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Lukasz Majewski, > New, separate driver at ./drivers/dfu has been added. It allows platform > and storage independent operation of DFU. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > [...] > +char *dfu_extract_token(char** e, int *n) > +{ > + char *st = *e; > + > + debug("%s: %s\n", __func__, st); > + > + strsep(e, " "); > + *n = *e - st; > + > + return st; > +} Sigh, what about these? btw don't we have strtok? [...] Best regards, Marek Vasut