projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3_Tahoe release
[unix-history]
/
usr
/
src
/
etc
/
shutdown.c
diff --git
a/usr/src/etc/shutdown.c
b/usr/src/etc/shutdown.c
index
be92126
..
9f0d06d
100644
(file)
--- a/
usr/src/etc/shutdown.c
+++ b/
usr/src/etc/shutdown.c
@@
-11,7
+11,7
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)shutdown.c 5.
6 (Berkeley) 5/26/86
";
+static char sccsid[] = "@(#)shutdown.c 5.
7 (Berkeley) 12/26/87
";
#endif not lint
#include <stdio.h>
#endif not lint
#include <stdio.h>
@@
-48,6
+48,7
@@
char hostname[MAXHOSTNAMELEN];
int timeout();
time_t getsdt();
int timeout();
time_t getsdt();
+void finish();
extern char *ctime();
extern struct tm *localtime();
extern char *ctime();
extern struct tm *localtime();
@@
-397,6
+398,7
@@
nolog(sdt)
}
}
}
}
+void
finish()
{
(void) signal(SIGTERM, SIG_IGN);
finish()
{
(void) signal(SIGTERM, SIG_IGN);