]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/gshadow.c: build_list(): Improve variable and parameter names
authorAlejandro Colomar <alx@kernel.org>
Mon, 4 Nov 2024 16:48:39 +0000 (17:48 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 6 Dec 2024 03:20:59 +0000 (21:20 -0600)
commitf3464103fbe0589b32e12d6c18dcf9dbfaa421e8
treefb50d89cb00c88fd7f5c6eeec570556c808f27e3
parent93887b4de620dc86e788acdbd36ec7b66b3d27b7
lib/gshadow.c: build_list(): Improve variable and parameter names

It was hard to understand what each variable is.  Use a consistent
scheme, where a 'p' means a pointer, 'l' means list, and 'n' means
number of elements.  Those should be obvious from the name of the
function and the context, and will make it easier to read the code.
Also, the shorter names will allow focusing on the rest of the code.

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