private flags collided with multicast and link flags
[unix-history] / usr / src / sbin / routed / trace.c
index 19863a9..191fdf6 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)trace.c    5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)trace.c    5.11 (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;
 {