From cdccc69c62579b0c13b35fad0728079652b8f3c9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 31 Jan 2023 11:21:30 +0100 Subject: Move library source into src sub-directory Signed-off-by: David Oberhollenzer --- lib/compat/strchrnul.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 lib/compat/strchrnul.c (limited to 'lib/compat/strchrnul.c') diff --git a/lib/compat/strchrnul.c b/lib/compat/strchrnul.c deleted file mode 100644 index 7296060..0000000 --- a/lib/compat/strchrnul.c +++ /dev/null @@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: LGPL-3.0-or-later */ -/* - * strchrnul.c - * - * Copyright (C) 2019 David Oberhollenzer - */ -#include "config.h" -#include "compat.h" - -#ifndef HAVE_STRCHRNUL -char *strchrnul(const char *s, int c) -{ - while (*s && *((unsigned char *)s) != c) - ++s; - - return (char *)s; -} -#endif -- cgit v1.2.3