55f9635ecf
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> Cherry-picked-from:ecc3508877("lib/, src/: Remove SCALE definition") Cc: "Serge E. Hallyn" <serge@hallyn.com> Link: <https://github.com/shadow-maint/shadow/pull/888> Link: <https://github.com/shadow-maint/shadow/pull/876> [alx: This is a pre-requisite for674409e226("lib/: Saturate addition to avoid overflow")] Signed-off-by: Alejandro Colomar <alx@kernel.org>
1.3 KiB
1.3 KiB