Source-Changes-HG archive

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

[src/trunk]: src/dist/ipf Add __attribute__((__unused__)) to SCCS and RCS IDs.



details:   https://anonhg.NetBSD.org/src/rev/06c38ac1bbb9
branches:  trunk
changeset: 532015:06c38ac1bbb9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 30 18:10:25 2002 +0000

description:
Add __attribute__((__unused__)) to SCCS and RCS IDs.

diffstat:

 dist/ipf/fils.c          |  8 +++++---
 dist/ipf/ipf.c           |  8 +++++---
 dist/ipf/ipfs.c          |  5 +++--
 dist/ipf/ipmon.c         |  8 +++++---
 dist/ipf/ipsend/ipsend.c |  8 +++++---
 dist/ipf/ipt.c           |  8 +++++---
 dist/ipf/kmem.c          |  8 +++++---
 dist/ipf/misc.c          |  8 +++++---
 dist/ipf/natparse.c      |  8 +++++---
 dist/ipf/printnat.c      |  5 +++--
 10 files changed, 46 insertions(+), 28 deletions(-)

diffs (214 lines):

diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/fils.c
--- a/dist/ipf/fils.c   Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/fils.c   Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fils.c,v 1.16 2002/05/02 17:11:37 martti Exp $ */
+/*     $NetBSD: fils.c,v 1.17 2002/05/30 18:10:25 thorpej Exp $        */
 
 /*
  * Copyright (C) 1993-2001 by Darren Reed.
@@ -95,8 +95,10 @@
 #endif
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)fils.c       1.21 4/20/96 (C) 1993-2000 Darren Reed";
-static const char rcsid[] = "@(#)Id: fils.c,v 2.21.2.35 2002/04/03 14:18:36 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)fils.c        1.21 4/20/96 (C) 1993-2000 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: fils.c,v 2.21.2.35 2002/04/03 14:18:36 darrenr Exp";
 #endif
 
 extern char    *optarg;
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/ipf.c
--- a/dist/ipf/ipf.c    Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/ipf.c    Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipf.c,v 1.10 2002/05/02 17:11:37 martti Exp $  */
+/*     $NetBSD: ipf.c,v 1.11 2002/05/30 18:10:26 thorpej Exp $ */
 
 /*
  * Copyright (C) 1993-2001 by Darren Reed.
@@ -51,8 +51,10 @@
 #include "ipl.h"
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)ipf.c        1.23 6/5/96 (C) 1993-2000 Darren Reed";
-static const char rcsid[] = "@(#)Id: ipf.c,v 2.10.2.14 2002/04/10 04:56:36 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)ipf.c 1.23 6/5/96 (C) 1993-2000 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: ipf.c,v 2.10.2.14 2002/04/10 04:56:36 darrenr Exp";
 #endif
 
 #if    SOLARIS
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/ipfs.c
--- a/dist/ipf/ipfs.c   Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/ipfs.c   Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipfs.c,v 1.7 2002/05/02 17:11:38 martti Exp $  */
+/*     $NetBSD: ipfs.c,v 1.8 2002/05/30 18:10:26 thorpej Exp $ */
 
 /*
  * Copyright (C) 1999-2001 by Darren Reed.
@@ -47,7 +47,8 @@
 #include "ipf.h"
 
 #if !defined(lint)
-static const char rcsid[] = "@(#)Id: ipfs.c,v 2.6.2.9 2002/04/17 17:42:59 darrenr Exp";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: ipfs.c,v 2.6.2.9 2002/04/17 17:42:59 darrenr Exp";
 #endif
 
 #ifndef        IPF_SAVEDIR
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/ipmon.c
--- a/dist/ipf/ipmon.c  Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/ipmon.c  Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipmon.c,v 1.11 2002/05/02 17:11:38 martti Exp $        */
+/*     $NetBSD: ipmon.c,v 1.12 2002/05/30 18:10:27 thorpej Exp $       */
 
 /*
  * Copyright (C) 1993-2002 by Darren Reed.
@@ -69,8 +69,10 @@
 #include "netinet/ip_state.h"
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)ipmon.c      1.21 6/5/96 (C)1993-2000 Darren Reed";
-static const char rcsid[] = "@(#)Id: ipmon.c,v 2.12.2.34 2002/03/22 10:27:16 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)ipmon.c       1.21 6/5/96 (C)1993-2000 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: ipmon.c,v 2.12.2.34 2002/03/22 10:27:16 darrenr Exp";
 #endif
 
 
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/ipsend/ipsend.c
--- a/dist/ipf/ipsend/ipsend.c  Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/ipsend/ipsend.c  Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsend.c,v 1.7 2002/05/02 17:11:39 martti Exp $        */
+/*     $NetBSD: ipsend.c,v 1.8 2002/05/30 18:10:32 thorpej Exp $       */
 
 /*
  * ipsend.c (C) 1995-1998 Darren Reed
@@ -35,8 +35,10 @@
 #include "ipsend.h"
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)ipsend.c     1.5 12/10/95 (C)1995 Darren Reed";
-static const char rcsid[] = "@(#)Id: ipsend.c,v 2.2.2.5 2002/04/23 14:58:57 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)ipsend.c      1.5 12/10/95 (C)1995 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: ipsend.c,v 2.2.2.5 2002/04/23 14:58:57 darrenr Exp";
 #endif
 
 
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/ipt.c
--- a/dist/ipf/ipt.c    Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/ipt.c    Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipt.c,v 1.7 2002/05/02 17:11:38 martti Exp $   */
+/*     $NetBSD: ipt.c,v 1.8 2002/05/30 18:10:28 thorpej Exp $  */
 
 /*
  * Copyright (C) 1993-2002 by Darren Reed.
@@ -65,8 +65,10 @@
 #include "ipt.h"
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)ipt.c        1.19 6/3/96 (C) 1993-2000 Darren Reed";
-static const char rcsid[] = "@(#)Id: ipt.c,v 2.6.2.21 2002/03/26 15:54:40 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)ipt.c 1.19 6/3/96 (C) 1993-2000 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: ipt.c,v 2.6.2.21 2002/03/26 15:54:40 darrenr Exp";
 #endif
 
 extern char    *optarg;
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/kmem.c
--- a/dist/ipf/kmem.c   Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/kmem.c   Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kmem.c,v 1.7 2002/05/02 17:11:38 martti Exp $  */
+/*     $NetBSD: kmem.c,v 1.8 2002/05/30 18:10:29 thorpej Exp $ */
 
 /*
  * Copyright (C) 1993-2002 by Darren Reed.
@@ -47,8 +47,10 @@
 #endif
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)kmem.c       1.4 1/12/96 (C) 1992 Darren Reed";
-static const char rcsid[] = "@(#)Id: kmem.c,v 2.2.2.14 2002/04/17 17:44:44 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)kmem.c        1.4 1/12/96 (C) 1992 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: kmem.c,v 2.2.2.14 2002/04/17 17:44:44 darrenr Exp";
 #endif
 
 #ifdef __sgi
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/misc.c
--- a/dist/ipf/misc.c   Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/misc.c   Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: misc.c,v 1.6 2002/05/02 17:11:38 martti Exp $  */
+/*     $NetBSD: misc.c,v 1.7 2002/05/30 18:10:29 thorpej Exp $ */
 
 /*
  * Copyright (C) 1993-2002 by Darren Reed.
@@ -54,8 +54,10 @@
 #include "ipt.h"
 
 #if !defined(lint)
-static const char sccsid[] = "@(#)misc.c       1.3 2/4/96 (C) 1995 Darren Reed";
-static const char rcsid[] = "@(#)Id: misc.c,v 2.2.2.8 2002/04/26 10:24:24 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)misc.c        1.3 2/4/96 (C) 1995 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: misc.c,v 2.2.2.8 2002/04/26 10:24:24 darrenr Exp";
 #endif
 
 extern int     opts;
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/natparse.c
--- a/dist/ipf/natparse.c       Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/natparse.c       Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: natparse.c,v 1.9 2002/05/02 17:11:38 martti Exp $      */
+/*     $NetBSD: natparse.c,v 1.10 2002/05/30 18:10:30 thorpej Exp $    */
 
 /*
  * Copyright (C) 1993-2002 by Darren Reed.
@@ -57,8 +57,10 @@
 #endif
 
 #if !defined(lint)
-static const char sccsid[] ="@(#)ipnat.c       1.9 6/5/96 (C) 1993 Darren Reed";
-static const char rcsid[] = "@(#)Id: natparse.c,v 1.17.2.24 2002/04/24 17:30:51 darrenr Exp";
+static const char sccsid[] __attribute__((__unused__)) =
+    "@(#)ipnat.c       1.9 6/5/96 (C) 1993 Darren Reed";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: natparse.c,v 1.17.2.24 2002/04/24 17:30:51 darrenr Exp";
 #endif
 
 
diff -r 3fa023a8efa6 -r 06c38ac1bbb9 dist/ipf/printnat.c
--- a/dist/ipf/printnat.c       Thu May 30 18:01:03 2002 +0000
+++ b/dist/ipf/printnat.c       Thu May 30 18:10:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printnat.c,v 1.7 2002/05/03 08:27:10 martti Exp $      */
+/*     $NetBSD: printnat.c,v 1.8 2002/05/30 18:10:31 thorpej Exp $     */
 
 /*
  * Copyright (C) 1993-2001 by Darren Reed.
@@ -60,7 +60,8 @@
 #endif
 
 #if !defined(lint)
-static const char rcsid[] = "@(#)Id: printnat.c,v 1.1.2.8 2002/04/25 16:44:13 darrenr Exp";
+static const char rcsid[] __attribute__((__unused__)) =
+    "@(#)Id: printnat.c,v 1.1.2.8 2002/04/25 16:44:13 darrenr Exp";
 #endif
 
 



Home | Main Index | Thread Index | Old Index