]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Remove SCALE definition
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 13 Dec 2023 20:25:51 +0000 (20:25 +0000)
committerSerge Hallyn <serge@hallyn.com>
Fri, 5 Jan 2024 21:41:12 +0000 (15:41 -0600)
commitecc3508877d254bbdc4579cf8f08c07697a578c9
tree36d866def497be143eb3e9eca9d20ac856809d6d
parent11091949be0ad717bc7259b230cf81bac5f1e52d
lib/, src/: Remove SCALE definition

SCALE is always DAY (and has to be always DAY), so replace it with DAY
in source code and remove unneeded calculations.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: <https://github.com/shadow-maint/shadow/pull/876>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
12 files changed:
lib/age.c
lib/defines.h
lib/isexpired.c
lib/pwd2spwd.c
src/chage.c
src/chpasswd.c
src/newusers.c
src/passwd.c
src/pwck.c
src/pwconv.c
src/useradd.c
src/usermod.c