]> git.ipfire.org Git - thirdparty/systemd.git/commit
main: split out reading of /proc/sys/fs/nr_open into its own function
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jun 2018 13:21:47 +0000 (15:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Jun 2018 12:39:15 +0000 (14:39 +0200)
commit9264cc39ce9da6f6cdf675a7b3bb3ef9e8f97cbb
treefa7090786fc73ef0c7e7a539f50094bd3ba1478e
parent0e37c169fbacf3b447aa97eac459c29537c34263
main: split out reading of /proc/sys/fs/nr_open into its own function

This doesn't really reduce the code size over all, but it does make main.c
shorter and more readable, and that's always a good thing.
src/basic/fd-util.c
src/basic/fd-util.h
src/core/main.c
src/test/test-fd-util.c