]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Use int main(void) where appropriate
authorAlejandro Colomar <alx@kernel.org>
Thu, 18 Jan 2024 00:30:23 +0000 (01:30 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 14 Mar 2024 21:16:15 +0000 (16:16 -0500)
commitefd169e010f8c4dc7b6167e775dfae6b869150d5
tree08ed4f46c9a666a8bac843c0ea7ed03c7b50dfca
parentda440b536ccdb2ec1b56ab7525b721073b5af61d
lib/, src/: Use int main(void) where appropriate

Remove /*ARGSUSED*/ comments.  Instead, use appropriate declarators for
main().  ISO C allows using int main(void) if the parameters are going
to be unused.

Also, do some cosmetic changes in the uses of argc and argv, to show
where they are used.

And use *argv[], instead of **argv.  Array notation is friendlier, IMO.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/getdate.y
src/id.c
src/sulogin.c