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
modern syntax for asgops and inits; sccs keywords
[unix-history]
/
usr
/
src
/
local
/
sccscmds
/
sccscmds.ok
/
util
/
setsig.c
diff --git
a/usr/src/local/sccscmds/sccscmds.ok/util/setsig.c
b/usr/src/local/sccscmds/sccscmds.ok/util/setsig.c
index
5cecb1b
..
6625cd7
100644
(file)
--- a/
usr/src/local/sccscmds/sccscmds.ok/util/setsig.c
+++ b/
usr/src/local/sccscmds/sccscmds.ok/util/setsig.c
@@
-1,3
+1,5
@@
+static char Sccsid[] = "@(#)setsig.c 1.2 %G%";
+
# include "signal.h"
#undef NSIG
# ifdef PWB
# include "signal.h"
#undef NSIG
# ifdef PWB
@@
-6,7
+8,6
@@
#define NSIG 4
# endif
# include "../hdr/macros.h"
#define NSIG 4
# endif
# include "../hdr/macros.h"
-SCCSID(@(#)setsig 2.1);
/*
General-purpose signal setting routine.
/*
General-purpose signal setting routine.
@@
-27,7
+28,7
@@
SCCSID(@(#)setsig 2.1);
*/
*/
-char *Mesg[NSIG] {
+char *Mesg[NSIG]
=
{
0,
0, /* Hangup */
0, /* Interrupt */
0,
0, /* Hangup */
0, /* Interrupt */
@@
-60,8
+61,8
@@
setsig()
}
}
-static char preface[] "SIGNAL: ";
-static char endmsg[]
" (ut12)\n";
+static char preface[]
=
"SIGNAL: ";
+static char endmsg[]
=
" (ut12)\n";
setsig1(sig)
int sig;
setsig1(sig)
int sig;