]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/pager: Remove struct field preexec_cb
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 19 Jan 2026 18:09:07 +0000 (19:09 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 20 Jan 2026 16:36:45 +0000 (17:36 +0100)
commitc4aa03eae60b0912e13fee1cc7f2ec6acbd263c5
treec56a969cb0904a986b574b1a61db3f2fbe3b8d6e
parent8d03bf597b8f32e36d8eda7d2a6988fcb290215b
lib/pager: Remove struct field preexec_cb

The struct field preexec_cb is always set to pager_preexec. Simplify the
code by calling this function directly.

Removes function pointer handling.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/pager.c