]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
login_cap.h: Remove LOGIN_DEFPRI
authorOlivier Certner <olce@FreeBSD.org>
Thu, 25 Jan 2024 22:25:10 +0000 (23:25 +0100)
committerOlivier Certner <olce@FreeBSD.org>
Mon, 29 Jan 2024 21:58:10 +0000 (22:58 +0100)
commitc7e645269f1c7e9872a7ccf6b72f045c55a66793
tree5a53b4bc1496d4d3f1c937b7730a08b9f49712eb
parente3a396eb2a029e5dc9161469735aa3f7f16845d1
login_cap.h: Remove LOGIN_DEFPRI

This is an implementation detail which is likely to become irrelevant in
the future, as we move to not resetting the priority if the
corresponding capability is not present in the configuration file
('/etc/login.conf').

GitHub's code search and Google show no use of this public constant, and
it doesn't exist in OpenBSD and NetBSD.

So, remove this definition and its sole use in-tree.

PR:                     276570 (exp-run)
Reviewed by:            emaste
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D43609
lib/libutil/login_cap.h
lib/libutil/login_class.c