src/, lib/, tests/: Rename files defining strtcpy()

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2023-11-12 14:08:42 +01:00 committed by Iker Pedrosa
parent 090c019ada
commit f9fb855889
15 changed files with 20 additions and 20 deletions

View File

@ -141,7 +141,7 @@ libshadow_la_SOURCES = \
stpecpy.h \
stpeprintf.c \
stpeprintf.h \
strlcpy.h \
strtcpy.h \
strtoday.c \
sub.c \
subordinateio.h \

View File

@ -13,7 +13,7 @@
#include <stdio.h>
#include "getdef.h"
#include "prototypes.h"
#include "strlcpy.h"
#include "strtcpy.h"
#ident "$Id$"

View File

@ -11,7 +11,7 @@
#ident "$Id$"
#include "strlcpy.h"
#include "strtcpy.h"
extern inline ssize_t strtcpy(char *restrict dst, const char *restrict src,

View File

@ -24,7 +24,7 @@
#include "alloc.h"
#include "sizeof.h"
#include "strlcpy.h"
#include "strtcpy.h"
#include "zustr2stp.h"
#ident "$Id$"

View File

@ -33,7 +33,7 @@
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
#ifdef WITH_TCB
#include "tcbfuncs.h"
#endif

View File

@ -32,7 +32,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
/*
* Global variables.

View File

@ -31,7 +31,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
#ifndef SHELLS_FILE
#define SHELLS_FILE "/etc/shells"

View File

@ -34,7 +34,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
/*
* Global variables

View File

@ -36,7 +36,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
#ifdef USE_PAM
#include "pam_defs.h"

View File

@ -32,7 +32,7 @@
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
/*
* exit status values

View File

@ -57,7 +57,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
/*
* Global variables

View File

@ -26,7 +26,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "strlcpy.h"
#include "strtcpy.h"
/*
* Global variables

View File

@ -4,7 +4,7 @@ if HAVE_CMOCKA
TESTS = $(check_PROGRAMS)
check_PROGRAMS = \
test_strlcpy \
test_strtcpy \
test_xasprintf
if ENABLE_LOGIND
@ -32,16 +32,16 @@ test_logind_LDADD = \
$(LIBSYSTEMD) \
$(NULL)
test_strlcpy_SOURCES = \
../../lib/strlcpy.c \
test_strlcpy.c \
test_strtcpy_SOURCES = \
../../lib/strtcpy.c \
test_strtcpy.c \
$(NULL)
test_strlcpy_CFLAGS = \
test_strtcpy_CFLAGS = \
$(AM_FLAGS) \
$(NULL)
test_strlcpy_LDFLAGS = \
test_strtcpy_LDFLAGS = \
$(NULL)
test_strlcpy_LDADD = \
test_strtcpy_LDADD = \
$(CMOCKA_LIBS) \
$(NULL)

View File

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