]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/, tests/: Move x*() definitions to non-x* header files
authorAlejandro Colomar <alx@kernel.org>
Wed, 1 Jan 2025 23:12:51 +0000 (00:12 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 27 Oct 2025 13:32:06 +0000 (14:32 +0100)
commit655ffcbe1b77b35a62a92640e5ea5393b23a0f31
tree22cc25ef43fb9feb0abdeb7d139d412492214cf4
parente5b6968406c74dd116e97446218bdb54057b0b86
lib/, src/, tests/: Move x*() definitions to non-x* header files

Now that all of these are one-liners, they don't need a separate header
file.  Compact stuff.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
50 files changed:
lib/Makefile.am
lib/alloc/calloc.h
lib/alloc/malloc.h
lib/alloc/realloc.h
lib/alloc/x/xcalloc.h [deleted file]
lib/alloc/x/xmalloc.c [deleted file]
lib/alloc/x/xmalloc.h [deleted file]
lib/alloc/x/xrealloc.c [deleted file]
lib/alloc/x/xrealloc.h [deleted file]
lib/copydir.c
lib/env.c
lib/getdef.c
lib/idmapping.c
lib/list.c
lib/mail.c
lib/obscure.c
lib/prefix_flag.c
lib/setupenv.c
lib/shadow/gshadow/sgetsgent.c
lib/string/sprintf/aprintf.h
lib/string/sprintf/xaprintf.c [deleted file]
lib/string/sprintf/xaprintf.h [deleted file]
lib/string/strdup/strdup.c [moved from lib/alloc/x/xcalloc.c with 80% similarity]
lib/string/strdup/strdup.h [moved from lib/string/strdup/xstrdup.h with 83% similarity]
lib/string/strdup/strndup.c [moved from lib/string/strdup/xstrndup.c with 78% similarity]
lib/string/strdup/strndup.h [moved from lib/string/strdup/xstrndup.h with 80% similarity]
lib/string/strdup/xstrdup.c [deleted file]
lib/string/strtok/astrsep2ls.h
lib/string/strtok/xastrsep2ls.c [deleted file]
lib/string/strtok/xastrsep2ls.h [deleted file]
lib/utmp.c
lib/xgetXXbyYY.c
src/chage.c
src/chfn.c
src/chsh.c
src/gpasswd.c
src/groupmems.c
src/groupmod.c
src/login.c
src/newgrp.c
src/newusers.c
src/passwd.c
src/su.c
src/sulogin.c
src/useradd.c
src/userdel.c
src/usermod.c
src/vipw.c
tests/unit/Makefile.am
tests/unit/test_xaprintf.c