Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons Add the following above the version = 0 line, ...



details:   https://anonhg.NetBSD.org/src/rev/35d23570d70b
branches:  trunk
changeset: 779380:35d23570d70b
user:      abs <abs%NetBSD.org@localhost>
date:      Thu May 24 18:16:31 2012 +0000

description:
Add the following above the version = 0 line, just to provide a hint...
/* For binary compat. New code must call WSxxxIO_SETVERSION */

diffstat:

 sys/dev/wscons/wsevent.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a14ae4910531 -r 35d23570d70b sys/dev/wscons/wsevent.c
--- a/sys/dev/wscons/wsevent.c  Thu May 24 00:40:11 2012 +0000
+++ b/sys/dev/wscons/wsevent.c  Thu May 24 18:16:31 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsevent.c,v 1.34 2009/02/18 13:20:02 yamt Exp $ */
+/* $NetBSD: wsevent.c,v 1.35 2012/05/24 18:16:31 abs Exp $ */
 
 /*-
  * Copyright (c) 2006, 2008 The NetBSD Foundation, Inc.
@@ -104,7 +104,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsevent.c,v 1.34 2009/02/18 13:20:02 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsevent.c,v 1.35 2012/05/24 18:16:31 abs Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_modular.h"
@@ -158,6 +158,7 @@
 #endif
                return;
        }
+       /* For binary compat. New code must call WSxxxIO_SETVERSION */
        ev->version = 0;
        ev->get = ev->put = 0;
        ev->q = kmem_alloc(WSEVENT_QSIZE * sizeof(*ev->q), KM_SLEEP);



Home | Main Index | Thread Index | Old Index