Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/tcpdump add NetBSD RCSID where necessary.



details:   https://anonhg.NetBSD.org/src/rev/b513b9bfd159
branches:  trunk
changeset: 476030:b513b9bfd159
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat Sep 04 03:36:41 1999 +0000

description:
add NetBSD RCSID where necessary.
add __RCSID where necessary.
make sure "make lint" does not raise fatal error (print-nfs.c)

diffstat:

 usr.sbin/tcpdump/print-ah.c      |  7 ++++++-
 usr.sbin/tcpdump/print-esp.c     |  7 ++++++-
 usr.sbin/tcpdump/print-frag6.c   |  7 ++++++-
 usr.sbin/tcpdump/print-hdlc.c    |  7 ++++++-
 usr.sbin/tcpdump/print-icmp6.c   |  7 ++++++-
 usr.sbin/tcpdump/print-ip6.c     |  7 ++++++-
 usr.sbin/tcpdump/print-ip6opts.c |  7 ++++++-
 usr.sbin/tcpdump/print-ipcomp.c  |  7 +++++++
 usr.sbin/tcpdump/print-isakmp.c  |  9 ++++++++-
 usr.sbin/tcpdump/print-nfs.c     |  6 +++---
 usr.sbin/tcpdump/print-ospf6.c   |  6 +++---
 usr.sbin/tcpdump/print-ripng.c   |  7 ++++++-
 usr.sbin/tcpdump/print-rt6.c     |  7 ++++++-
 usr.sbin/tcpdump/print-token.c   |  9 ++++++++-
 14 files changed, 83 insertions(+), 17 deletions(-)

diffs (truncated from 320 to 300 lines):

diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-ah.c
--- a/usr.sbin/tcpdump/print-ah.c       Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-ah.c       Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-ah.c,v 1.2 1999/07/04 02:57:51 itojun Exp $      */
+/*     $NetBSD: print-ah.c,v 1.3 1999/09/04 03:36:41 itojun Exp $      */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-ah.c,v 1.3 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #include <sys/param.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-esp.c
--- a/usr.sbin/tcpdump/print-esp.c      Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-esp.c      Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-esp.c,v 1.2 1999/07/04 02:57:51 itojun Exp $     */
+/*     $NetBSD: print-esp.c,v 1.3 1999/09/04 03:36:41 itojun Exp $     */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-esp.c,v 1.3 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #include <string.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-frag6.c
--- a/usr.sbin/tcpdump/print-frag6.c    Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-frag6.c    Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-frag6.c,v 1.3 1999/08/26 11:16:06 itojun Exp $   */
+/*     $NetBSD: print-frag6.c,v 1.4 1999/09/04 03:36:41 itojun Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-frag6.c,v 1.4 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #ifdef INET6
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-hdlc.c
--- a/usr.sbin/tcpdump/print-hdlc.c     Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-hdlc.c     Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-hdlc.c,v 1.2 1998/07/25 11:39:53 explorer Exp $  */
+/*     $NetBSD: print-hdlc.c,v 1.3 1999/09/04 03:36:41 itojun Exp $    */
 
 /*
  * Copyright (c) 1990, 1991, 1993, 1994
@@ -21,6 +21,11 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-hdlc.c,v 1.3 1999/09/04 03:36:41 itojun Exp $");
+#endif
+
 #ifdef HAVE_HDLC
 #include <sys/param.h>
 #include <sys/time.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-icmp6.c
--- a/usr.sbin/tcpdump/print-icmp6.c    Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-icmp6.c    Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-icmp6.c,v 1.4 1999/07/26 06:26:58 itojun Exp $   */
+/*     $NetBSD: print-icmp6.c,v 1.5 1999/09/04 03:36:41 itojun Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-icmp6.c,v 1.5 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #ifdef INET6
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-ip6.c
--- a/usr.sbin/tcpdump/print-ip6.c      Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-ip6.c      Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-ip6.c,v 1.2 1999/07/04 02:57:51 itojun Exp $     */
+/*     $NetBSD: print-ip6.c,v 1.3 1999/09/04 03:36:41 itojun Exp $     */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-ip.c,v 2.1 1995/02/03 18:14:45 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-ip6.c,v 1.3 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #ifdef INET6
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-ip6opts.c
--- a/usr.sbin/tcpdump/print-ip6opts.c  Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-ip6opts.c  Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-ip6opts.c,v 1.2 1999/07/04 02:57:51 itojun Exp $ */
+/*     $NetBSD: print-ip6opts.c,v 1.3 1999/09/04 03:36:41 itojun Exp $ */
 
 /*
  * Copyright (C) 1998 WIDE Project.
@@ -29,6 +29,11 @@
  * SUCH DAMAGE.
  */
 
+#ifndef lint
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-ip6opts.c,v 1.3 1999/09/04 03:36:41 itojun Exp $");
+#endif
+
 #ifdef INET6
 #include <sys/param.h>
 #include <sys/time.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-ipcomp.c
--- a/usr.sbin/tcpdump/print-ipcomp.c   Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-ipcomp.c   Sat Sep 04 03:36:41 1999 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: print-ipcomp.c,v 1.2 1999/09/04 03:36:41 itojun Exp $  */
+
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -20,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-ipcomp.c,v 1.2 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #include <string.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-isakmp.c
--- a/usr.sbin/tcpdump/print-isakmp.c   Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-isakmp.c   Sat Sep 04 03:36:41 1999 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: print-isakmp.c,v 1.2 1999/09/04 03:36:41 itojun Exp $  */
+
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
  * All rights reserved.
@@ -29,8 +31,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
-    "@(#) $Header: /cvsroot/src/usr.sbin/tcpdump/Attic/print-isakmp.c,v 1.1 1999/07/02 11:31:34 itojun Exp $ (LBL)";
+    "@(#) $Header: /cvsroot/src/usr.sbin/tcpdump/Attic/print-isakmp.c,v 1.2 1999/09/04 03:36:41 itojun Exp $ (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-isakmp.c,v 1.2 1999/09/04 03:36:41 itojun Exp $");
+#endif
 #endif
 
 #include <string.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-nfs.c
--- a/usr.sbin/tcpdump/print-nfs.c      Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-nfs.c      Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-nfs.c,v 1.9 1998/07/26 16:01:12 mycroft Exp $    */
+/*     $NetBSD: print-nfs.c,v 1.10 1999/09/04 03:36:41 itojun Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -27,7 +27,7 @@
 static const char rcsid[] =
     "@(#) Header: print-nfs.c,v 1.65 97/08/17 13:24:22 leres Exp  (LBL)";
 #else
-__RCSID("$NetBSD: print-nfs.c,v 1.9 1998/07/26 16:01:12 mycroft Exp $");
+__RCSID("$NetBSD: print-nfs.c,v 1.10 1999/09/04 03:36:41 itojun Exp $");
 #endif
 #endif
 
@@ -1587,5 +1587,5 @@
        }
        if (!nfserr)
                fputs(" [|nfs]", stdout);
-trunc:
+trunc:;
 }
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-ospf6.c
--- a/usr.sbin/tcpdump/print-ospf6.c    Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-ospf6.c    Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-ospf6.c,v 1.3 1999/07/06 13:05:14 itojun Exp $   */
+/*     $NetBSD: print-ospf6.c,v 1.4 1999/09/04 03:36:42 itojun Exp $   */
 
 /*
  * Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997
@@ -24,8 +24,8 @@
  */
 
 #ifndef lint
-static const char rcsid[] =
-    "@(#) $Header: /cvsroot/src/usr.sbin/tcpdump/Attic/print-ospf6.c,v 1.3 1999/07/06 13:05:14 itojun Exp $ (LBL)";
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-ospf6.c,v 1.4 1999/09/04 03:36:42 itojun Exp $");
 #endif
 
 #include <sys/param.h>
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-ripng.c
--- a/usr.sbin/tcpdump/print-ripng.c    Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-ripng.c    Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-ripng.c,v 1.2 1999/07/04 02:57:51 itojun Exp $   */
+/*     $NetBSD: print-ripng.c,v 1.3 1999/09/04 03:36:42 itojun Exp $   */
 
 /*
  * Copyright (c) 1989, 1990, 1991, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-rip.c,v 2.1 1995/02/03 18:15:05 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-ripng.c,v 1.3 1999/09/04 03:36:42 itojun Exp $");
+#endif
 #endif
 
 #ifdef INET6
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-rt6.c
--- a/usr.sbin/tcpdump/print-rt6.c      Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-rt6.c      Sat Sep 04 03:36:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-rt6.c,v 1.2 1999/07/04 02:57:51 itojun Exp $     */
+/*     $NetBSD: print-rt6.c,v 1.3 1999/09/04 03:36:42 itojun Exp $     */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -22,8 +22,13 @@
  */
 
 #ifndef lint
+#if 0
 static const char rcsid[] =
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
+#else
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: print-rt6.c,v 1.3 1999/09/04 03:36:42 itojun Exp $");
+#endif
 #endif
 
 #ifdef INET6
diff -r 246a5bf2b345 -r b513b9bfd159 usr.sbin/tcpdump/print-token.c
--- a/usr.sbin/tcpdump/print-token.c    Fri Sep 03 22:48:51 1999 +0000
+++ b/usr.sbin/tcpdump/print-token.c    Sat Sep 04 03:36:41 1999 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: print-token.c,v 1.3 1999/09/04 03:36:42 itojun Exp $   */



Home | Main Index | Thread Index | Old Index