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
private flags collided with multicast and link flags
[unix-history]
/
usr
/
src
/
sbin
/
routed
/
trace.c
diff --git
a/usr/src/sbin/routed/trace.c
b/usr/src/sbin/routed/trace.c
index
19863a9
..
191fdf6
100644
(file)
--- a/
usr/src/sbin/routed/trace.c
+++ b/
usr/src/sbin/routed/trace.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)trace.c 5.1
0
(Berkeley) %G%";
+static char sccsid[] = "@(#)trace.c 5.1
1
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-14,9
+14,10
@@
static char sccsid[] = "@(#)trace.c 5.10 (Berkeley) %G%";
*/
#define RIPCMDS
#include "defs.h"
*/
#define RIPCMDS
#include "defs.h"
-#include <sys/file.h>
#include <sys/stat.h>
#include <sys/signal.h>
#include <sys/stat.h>
#include <sys/signal.h>
+#include <fcntl.h>
+#include <stdlib.h>
#include "pathnames.h"
#define NRECORDS 50 /* size of circular trace buffer */
#include "pathnames.h"
#define NRECORDS 50 /* size of circular trace buffer */
@@
-30,6
+31,7
@@
static char *savetracename;
traceinit(ifp)
register struct interface *ifp;
{
traceinit(ifp)
register struct interface *ifp;
{
+ static int iftraceinit();
if (iftraceinit(ifp, &ifp->int_input) &&
iftraceinit(ifp, &ifp->int_output))
if (iftraceinit(ifp, &ifp->int_input) &&
iftraceinit(ifp, &ifp->int_output))
@@
-101,6
+103,7
@@
traceoff()
tracecontents = 0;
}
tracecontents = 0;
}
+void
sigtrace(s)
int s;
{
sigtrace(s)
int s;
{