SCCS-vsn: sbin/reboot/halt.c 5.8
SCCS-vsn: sbin/reboot/reboot.c 5.10
SCCS-vsn: sbin/shutdown/shutdown.c 5.16
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)halt.c 5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)halt.c 5.8 (Berkeley) %G%";
{
register int i;
register int qflag = 0;
{
register int i;
register int qflag = 0;
- struct passwd *pw, *getpwuid();
int ch, howto, needlog = 1;
char *user, *ttyn, *getlogin(), *ttyname();
int ch, howto, needlog = 1;
char *user, *ttyn, *getlogin(), *ttyname();
{
signal(SIGALRM, dingdong);
alarm(n);
{
signal(SIGALRM, dingdong);
alarm(n);
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)reboot.c 5.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)reboot.c 5.10 (Berkeley) %G%";
register qflag = 0;
int needlog = 1;
char *user, *getlogin();
register qflag = 0;
int needlog = 1;
char *user, *getlogin();
- struct passwd *pw, *getpwuid();
openlog("reboot", 0, LOG_AUTH);
argc--, argv++;
openlog("reboot", 0, LOG_AUTH);
argc--, argv++;
{
signal(SIGALRM, dingdong);
alarm(n);
{
signal(SIGALRM, dingdong);
alarm(n);
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)shutdown.c 5.15 (Berkeley) %G%";
+static char sccsid[] = "@(#)shutdown.c 5.16 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
extern int optind;
register char *p, *endp;
int arglen, ch, len, readstdin;
extern int optind;
register char *p, *endp;
int arglen, ch, len, readstdin;
- struct passwd *pw, *getpwuid();
char *strcat(), *getlogin();
uid_t geteuid();
char *strcat(), *getlogin();
uid_t geteuid();