Use __FBSDID(). Also do a bit of cosmetic #if and header-order

cleaning-up.
This commit is contained in:
Mark Murray 2001-12-02 20:54:57 +00:00
parent 01823518f5
commit 1a8b24c257
4 changed files with 17 additions and 14 deletions

View File

@ -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%";

View File

@ -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>

View File

@ -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%";

View File

@ -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>