]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/gshadow.c: build_list(): Remove second parameter
authorAlejandro Colomar <alx@kernel.org>
Tue, 5 Nov 2024 14:13:35 +0000 (15:13 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 6 Dec 2024 03:20:59 +0000 (21:20 -0600)
commit5ba62265b3c9532d4901963582924c178d702045
treecabceb6439b56b230904e645662faaf4563bc5ab
parentc1d597acbbe1d778d834b362c74390aa458e095d
lib/gshadow.c: build_list(): Remove second parameter

We've simplified the function so much in the previous commits, that now
$2 is rather useless.  It only sets the output parameter to the same
value that the function returns.  It's simpler if the caller just sets
it itself after the call.

This removes the only 3-star pointer in the entire project.  :)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/gshadow.c