lib/string/: Move string-related files to string/ subdir
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
d1ad64b40f
commit
dbb37b1b31
@@ -134,17 +134,19 @@ libshadow_la_SOURCES = \
|
||||
shell.c \
|
||||
sizeof.h \
|
||||
spawn.c \
|
||||
sprintf.c \
|
||||
sprintf.h \
|
||||
sssd.c \
|
||||
sssd.h \
|
||||
stpecpy.c \
|
||||
stpecpy.h \
|
||||
stpeprintf.c \
|
||||
stpeprintf.h \
|
||||
strncpy.h \
|
||||
strtcpy.c \
|
||||
strtcpy.h \
|
||||
string/sprintf.c \
|
||||
string/sprintf.h \
|
||||
string/stpecpy.c \
|
||||
string/stpecpy.h \
|
||||
string/stpeprintf.c \
|
||||
string/stpeprintf.h \
|
||||
string/strncpy.h \
|
||||
string/strtcpy.c \
|
||||
string/strtcpy.h \
|
||||
string/zustr2stp.c \
|
||||
string/zustr2stp.h \
|
||||
strtoday.c \
|
||||
sub.c \
|
||||
subordinateio.h \
|
||||
@@ -162,9 +164,7 @@ libshadow_la_SOURCES = \
|
||||
xgetgrnam.c \
|
||||
xgetgrgid.c \
|
||||
xgetspnam.c \
|
||||
yesno.c \
|
||||
zustr2stp.c \
|
||||
zustr2stp.h
|
||||
yesno.c
|
||||
|
||||
if WITH_TCB
|
||||
libshadow_la_SOURCES += tcbfuncs.c tcbfuncs.h
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <stdio.h>
|
||||
#include "getdef.h"
|
||||
#include "prototypes.h"
|
||||
#include "strtcpy.h"
|
||||
#include "string/strtcpy.h"
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <attr/libattr.h>
|
||||
#endif /* WITH_ATTR */
|
||||
#include "shadowlog.h"
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
|
||||
static /*@null@*/const char *src_orig;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
#include "strtcpy.h"
|
||||
#include "string/strtcpy.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "prototypes.h"
|
||||
#include "defines.h"
|
||||
#include "shadowlog.h"
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "failure.h"
|
||||
#include "memzero.h"
|
||||
#include "prototypes.h"
|
||||
#include "strtcpy.h"
|
||||
#include "string/strtcpy.h"
|
||||
|
||||
|
||||
#define YEAR (365L*DAY)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "alloc.h"
|
||||
#include "getdef.h"
|
||||
#include "shadowlog_internal.h"
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "alloc.h"
|
||||
#include "prototypes.h"
|
||||
#include "stpeprintf.h"
|
||||
#include "string/stpeprintf.h"
|
||||
#include "idmapping.h"
|
||||
#if HAVE_SYS_CAPABILITY_H
|
||||
#include <sys/prctl.h>
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
#include <lastlog.h>
|
||||
#include "memzero.h"
|
||||
#include "prototypes.h"
|
||||
#include "strncpy.h"
|
||||
#include "strtcpy.h"
|
||||
#include "string/strncpy.h"
|
||||
#include "string/strtcpy.h"
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "alloc.h"
|
||||
#include "getdef.h"
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#endif /* ENABLE_SUBIDS */
|
||||
#include "getdef.h"
|
||||
#include "shadowlog.h"
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
|
||||
static char *passwd_db_file = NULL;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <pwd.h>
|
||||
#include "getdef.h"
|
||||
#include "shadowlog.h"
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
|
||||
#ifndef USE_PAM
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
#include "sprintf.h"
|
||||
#include "string/sprintf.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
#include "stpecpy.h"
|
||||
#include "string/stpecpy.h"
|
||||
|
||||
|
||||
extern inline char *stpecpy(char *dst, char *end, const char *restrict src);
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
#include "stpeprintf.h"
|
||||
#include "string/stpeprintf.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
#include "strtcpy.h"
|
||||
#include "string/strtcpy.h"
|
||||
|
||||
|
||||
extern inline ssize_t strtcpy(char *restrict dst, const char *restrict src,
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
#include "zustr2stp.h"
|
||||
#include "string/zustr2stp.h"
|
||||
|
||||
|
||||
extern inline char *zustr2stp(char *restrict dst, const char *restrict src,
|
||||
@@ -24,9 +24,9 @@
|
||||
|
||||
#include "alloc.h"
|
||||
#include "sizeof.h"
|
||||
#include "strtcpy.h"
|
||||
#include "strncpy.h"
|
||||
#include "zustr2stp.h"
|
||||
#include "string/strncpy.h"
|
||||
#include "string/strtcpy.h"
|
||||
#include "string/zustr2stp.h"
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user