lib/string/: Move string-related files to string/ subdir

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2023-11-28 02:48:37 +01:00
committed by Serge Hallyn
parent d1ad64b40f
commit dbb37b1b31
42 changed files with 52 additions and 52 deletions

View File

@@ -60,7 +60,7 @@ test_strncpy_LDADD = \
$(NULL)
test_strtcpy_SOURCES = \
../../lib/strtcpy.c \
../../lib/string/strtcpy.c \
test_strtcpy.c \
$(NULL)
test_strtcpy_CFLAGS = \
@@ -73,7 +73,7 @@ test_strtcpy_LDADD = \
$(NULL)
test_xasprintf_SOURCES = \
../../lib/sprintf.c \
../../lib/string/sprintf.c \
test_xasprintf.c \
$(NULL)
test_xasprintf_CFLAGS = \

View File

@@ -15,7 +15,7 @@
#include <cmocka.h>
#include "sizeof.h"
#include "strncpy.h"
#include "string/strncpy.h"
static void test_STRNCPY_trunc(void **state);

View File

@@ -15,7 +15,7 @@
#include <cmocka.h>
#include "sizeof.h"
#include "strtcpy.h"
#include "string/strtcpy.h"
static void test_STRTCPY_trunc(void **state);

View File

@@ -15,7 +15,7 @@
#include <stdint.h> // Required by <cmocka.h>
#include <cmocka.h>
#include "sprintf.h"
#include "string/sprintf.h"
#define assert_unreachable() assert_true(0)