diff options
author | markm <markm@FreeBSD.org> | 2001-12-02 20:54:57 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-02 20:54:57 +0000 |
commit | 08eb6fed7153fd1b5cb3e4c9e8ea9c77008841ad (patch) | |
tree | 79c78bb238c59444a982ac250d2f80664322c366 /usr.bin/login | |
parent | 3202164edc003152af9e92080b20b174e8259c53 (diff) | |
download | FreeBSD-src-08eb6fed7153fd1b5cb3e4c9e8ea9c77008841ad.zip FreeBSD-src-08eb6fed7153fd1b5cb3e4c9e8ea9c77008841ad.tar.gz |
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.
Diffstat (limited to 'usr.bin/login')
-rw-r--r-- | usr.bin/login/login.c | 16 | ||||
-rw-r--r-- | usr.bin/login/login_access.c | 5 | ||||
-rw-r--r-- | usr.bin/login/login_fbtab.c | 5 |
3 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 99d64bd..4f24d37 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -31,19 +31,13 @@ * SUCH DAMAGE. */ -#if 0 -static char copyright[] = -"@(#) Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994\n\ - The Regents of the University of California. All rights reserved.\n"; -#endif +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); #ifndef lint -#if 0 -static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ /* * login [ name ] @@ -51,8 +45,8 @@ static const char rcsid[] = * login -f name (for pre-authenticated login: datakit, xterm, etc.) */ -#include <sys/param.h> #include <sys/copyright.h> +#include <sys/param.h> #include <sys/file.h> #include <sys/socket.h> #include <sys/stat.h> diff --git a/usr.bin/login/login_access.c b/usr.bin/login/login_access.c index abd552b..c058bbe 100644 --- a/usr.bin/login/login_access.c +++ b/usr.bin/login/login_access.c @@ -5,9 +5,12 @@ * non-networked logins. Diagnostics are reported through syslog(3). * * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. - * $FreeBSD$ */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifdef LOGIN_ACCESS #ifndef lint static const char sccsid[] = "%Z% %M% %I% %E% %U%"; diff --git a/usr.bin/login/login_fbtab.c b/usr.bin/login/login_fbtab.c index 6943d02f..599e3a6 100644 --- a/usr.bin/login/login_fbtab.c +++ b/usr.bin/login/login_fbtab.c @@ -13,7 +13,6 @@ * warranties, including, without limitation, the implied warranties of * merchantibility and fitness for any particular purpose. ************************************************************************/ -/* $FreeBSD$ */ /* SYNOPSIS void login_fbtab(tty, uid, gid) @@ -59,6 +58,10 @@ The Netherlands */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <sys/stat.h> #include <errno.h> |