Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons replace embedded _rcsid[] string by __KERNEL_...



details:   https://anonhg.NetBSD.org/src/rev/a4e5ce09ae7f
branches:  trunk
changeset: 480140:a4e5ce09ae7f
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jan 05 11:19:36 2000 +0000

description:
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]

diffstat:

 sys/dev/wscons/wsdisplay.c   |   8 +++-----
 sys/dev/wscons/wsemul_dumb.c |   8 +++-----
 sys/dev/wscons/wsemul_sun.c  |  10 ++++------
 sys/dev/wscons/wsemulconf.c  |   8 +++-----
 sys/dev/wscons/wsevent.c     |   8 +++-----
 sys/dev/wscons/wskbd.c       |   8 +++-----
 sys/dev/wscons/wsmouse.c     |   8 +++-----
 7 files changed, 22 insertions(+), 36 deletions(-)

diffs (157 lines):

diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wsdisplay.c
--- a/sys/dev/wscons/wsdisplay.c        Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wsdisplay.c        Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplay.c,v 1.33 1999/12/06 18:52:23 drochner Exp $ */
+/* $NetBSD: wsdisplay.c,v 1.34 2000/01/05 11:19:36 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,10 +30,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wsdisplay.c,v 1.33 1999/12/06 18:52:23 drochner Exp $";
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.34 2000/01/05 11:19:36 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wsemul_dumb.c
--- a/sys/dev/wscons/wsemul_dumb.c      Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wsemul_dumb.c      Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsemul_dumb.c,v 1.6 1999/01/17 15:44:57 drochner Exp $ */
+/* $NetBSD: wsemul_dumb.c,v 1.7 2000/01/05 11:19:36 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,10 +30,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wsemul_dumb.c,v 1.6 1999/01/17 15:44:57 drochner Exp $";
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wsemul_dumb.c,v 1.7 2000/01/05 11:19:36 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wsemul_sun.c
--- a/sys/dev/wscons/wsemul_sun.c       Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wsemul_sun.c       Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsemul_sun.c,v 1.10 1999/01/17 15:44:57 drochner Exp $ */
+/* $NetBSD: wsemul_sun.c,v 1.11 2000/01/05 11:19:36 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,12 +30,10 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wsemul_sun.c,v 1.10 1999/01/17 15:44:57 drochner Exp $";
+/* XXX DESCRIPTION/SOURCE OF INFORMATION */
 
-/* XXX DESCRIPTION/SOURCE OF INFORMATION */
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wsemul_sun.c,v 1.11 2000/01/05 11:19:36 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wsemulconf.c
--- a/sys/dev/wscons/wsemulconf.c       Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wsemulconf.c       Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsemulconf.c,v 1.3 1998/06/15 17:10:37 drochner Exp $ */
+/* $NetBSD: wsemulconf.c,v 1.4 2000/01/05 11:19:37 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,10 +30,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wsemulconf.c,v 1.3 1998/06/15 17:10:37 drochner Exp $";
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wsemulconf.c,v 1.4 2000/01/05 11:19:37 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wsevent.c
--- a/sys/dev/wscons/wsevent.c  Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wsevent.c  Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsevent.c,v 1.3 1999/01/10 00:28:21 augustss Exp $ */
+/* $NetBSD: wsevent.c,v 1.4 2000/01/05 11:19:37 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,10 +30,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wsevent.c,v 1.3 1999/01/10 00:28:21 augustss Exp $";
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wsevent.c,v 1.4 2000/01/05 11:19:37 drochner Exp $");
 
 /*
  * Copyright (c) 1992, 1993
diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wskbd.c
--- a/sys/dev/wscons/wskbd.c    Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wskbd.c    Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.34 1999/12/21 12:02:04 drochner Exp $ */
+/* $NetBSD: wskbd.c,v 1.35 2000/01/05 11:19:37 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -33,10 +33,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wskbd.c,v 1.34 1999/12/21 12:02:04 drochner Exp $";
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.35 2000/01/05 11:19:37 drochner Exp $");
 
 /*
  * Copyright (c) 1992, 1993
diff -r 9fd8eb7523dc -r a4e5ce09ae7f sys/dev/wscons/wsmouse.c
--- a/sys/dev/wscons/wsmouse.c  Wed Jan 05 08:48:53 2000 +0000
+++ b/sys/dev/wscons/wsmouse.c  Wed Jan 05 11:19:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsmouse.c,v 1.9 1999/08/04 11:26:04 augustss Exp $ */
+/* $NetBSD: wsmouse.c,v 1.10 2000/01/05 11:19:37 drochner Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,10 +30,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-static const char _copyright[] __attribute__ ((unused)) =
-    "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
-static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wsmouse.c,v 1.9 1999/08/04 11:26:04 augustss Exp $";
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.10 2000/01/05 11:19:37 drochner Exp $");
 
 /*
  * Copyright (c) 1992, 1993



Home | Main Index | Thread Index | Old Index