summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/login.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-02 20:54:57 +0000
committermarkm <markm@FreeBSD.org>2001-12-02 20:54:57 +0000
commit08eb6fed7153fd1b5cb3e4c9e8ea9c77008841ad (patch)
tree79c78bb238c59444a982ac250d2f80664322c366 /usr.bin/login/login.c
parent3202164edc003152af9e92080b20b174e8259c53 (diff)
downloadFreeBSD-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/login.c')
-rw-r--r--usr.bin/login/login.c16
1 files changed, 5 insertions, 11 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>
OpenPOWER on IntegriCloud