]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/colors: correct documentation of colors_add_scheme()
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 27 Sep 2023 20:04:40 +0000 (22:04 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 28 Sep 2023 06:13:17 +0000 (08:13 +0200)
commit99d30f02f789ba897723fbdf46d599689c9aa90c
tree7d70757df99544f089f3b3a0adc407a15ff311fb
parent343b2e4bf9ceccfc34edc914e06dcde6d0d01919
lib/colors: correct documentation of colors_add_scheme()

The function does not take ownership of its arguments and it does not
require those arguments to be heap-allocated.
In fact there is only one caller and it passed stack-allocated values.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/colors.c