freebsd-nq/usr.sbin/nologin
Xin LI 0dac67d65f nologin(8) does not seem to require any command line parameters,
so remove argc and argv from main() argument.

At the same time, user and tt is not likely to be changed during
execution so mark them const.

This commit should guarantee nologin to pass WARNS=6.

Tested on:	i386
MFC After:	1 month
2005-01-04 03:57:20 +00:00
..
Makefile NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
nologin.5 Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
nologin.8 Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
nologin.c nologin(8) does not seem to require any command line parameters, 2005-01-04 03:57:20 +00:00