Module Name: src Committed By: abs Date: Thu May 24 18:16:32 UTC 2012
Modified Files: src/sys/dev/wscons: wsevent.c Log Message: Add the following above the version = 0 line, just to provide a hint... /* For binary compat. New code must call WSxxxIO_SETVERSION */ To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/wscons/wsevent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/wscons/wsevent.c diff -u src/sys/dev/wscons/wsevent.c:1.34 src/sys/dev/wscons/wsevent.c:1.35 --- src/sys/dev/wscons/wsevent.c:1.34 Wed Feb 18 13:20:02 2009 +++ src/sys/dev/wscons/wsevent.c Thu May 24 18:16:31 2012 @@ -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 @@ wsevent_init(struct wseventvar *ev, stru #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);