From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNbbX-0003gg-Mk for barebox@lists.infradead.org; Wed, 30 Sep 2020 12:53:08 +0000 From: Ahmad Fatoum Date: Wed, 30 Sep 2020 14:53:00 +0200 Message-Id: <20200930125303.14933-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/4] include: string: migrate barebox function from To: barebox@lists.infradead.org Cc: Ahmad Fatoum was imported from Linux. In order to keep changes to a minimum, add prototypes for new barebox functions to instead. Signed-off-by: Ahmad Fatoum --- include/linux/string.h | 1 - include/string.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/string.h b/include/linux/string.h index 2b699957e824..85c3eb1de340 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -10,7 +10,6 @@ extern "C" { extern char * strpbrk(const char *,const char *); extern char * strsep(char **,const char *); -extern char * strsep_unescaped(char **,const char *); extern __kernel_size_t strspn(const char *,const char *); diff --git a/include/string.h b/include/string.h index 727bc51934bc..063e85f62cf8 100644 --- a/include/string.h +++ b/include/string.h @@ -5,6 +5,7 @@ #include int strtobool(const char *str, int *val); +char *strsep_unescaped(char **, const char *); void *__default_memset(void *, int, __kernel_size_t); void *__nokasan_default_memset(void *, int, __kernel_size_t); -- 2.28.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox