Source-Changes-HG archive

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

[src/kqueue]: src/sys/arch/atari/dev make compilable - use cdev_decl(), and r...



details:   https://anonhg.NetBSD.org/src/rev/ebf396c2af8b
branches:  kqueue
changeset: 512467:ebf396c2af8b
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Jun 17 18:48:24 2002 +0000

description:
make compilable - use cdev_decl(), and remove unnecessary prototypes
from headers

diffstat:

 sys/arch/atari/dev/grf.c     |  4 +++-
 sys/arch/atari/dev/grfvar.h  |  6 +-----
 sys/arch/atari/dev/view.c    |  4 +++-
 sys/arch/atari/dev/viewvar.h |  5 +----
 4 files changed, 8 insertions(+), 11 deletions(-)

diffs (76 lines):

diff -r bec24a35d361 -r ebf396c2af8b sys/arch/atari/dev/grf.c
--- a/sys/arch/atari/dev/grf.c  Mon Jun 17 18:46:28 2002 +0000
+++ b/sys/arch/atari/dev/grf.c  Mon Jun 17 18:48:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.25.4.1 2001/09/12 19:04:01 thorpej Exp $     */
+/*     $NetBSD: grf.c,v 1.25.4.2 2002/06/17 18:48:24 jdolecek Exp $    */
 
 /*
  * Copyright (c) 1995 Leo Weppelman
@@ -86,6 +86,8 @@
 #define ite_reinit(d)
 #endif
 
+cdev_decl(grf);
+
 int grfon __P((dev_t));
 int grfoff __P((dev_t));
 int grfsinfo __P((dev_t, struct grfdyninfo *));
diff -r bec24a35d361 -r ebf396c2af8b sys/arch/atari/dev/grfvar.h
--- a/sys/arch/atari/dev/grfvar.h       Mon Jun 17 18:46:28 2002 +0000
+++ b/sys/arch/atari/dev/grfvar.h       Mon Jun 17 18:48:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grfvar.h,v 1.6 1996/10/04 07:27:57 leo Exp $   */
+/*     $NetBSD: grfvar.h,v 1.6.42.1 2002/06/17 18:48:25 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -112,10 +112,6 @@
 #ifdef _KERNEL
 
 dev_type_open(grfopen);
-dev_type_close(grfclose);
-dev_type_ioctl(grfioctl);
-dev_type_poll(grfpoll);
-dev_type_mmap(grfmmap);
 
 int  grf_mode __P((struct grf_softc *, int, void *, int, int));
 void grf_viewsync __P((struct grf_softc *));
diff -r bec24a35d361 -r ebf396c2af8b sys/arch/atari/dev/view.c
--- a/sys/arch/atari/dev/view.c Mon Jun 17 18:46:28 2002 +0000
+++ b/sys/arch/atari/dev/view.c Mon Jun 17 18:48:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: view.c,v 1.17.4.1 2001/09/12 19:04:01 thorpej Exp $    */
+/*     $NetBSD: view.c,v 1.17.4.2 2002/06/17 18:48:26 jdolecek Exp $   */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -53,6 +53,8 @@
 #include <atari/dev/viewvar.h>
 #include "view.h"
 
+cdev_decl(view);
+
 static void view_display __P((struct view_softc *));
 static void view_remove __P((struct view_softc *));
 static int  view_setsize __P((struct view_softc *, struct view_size *));
diff -r bec24a35d361 -r ebf396c2af8b sys/arch/atari/dev/viewvar.h
--- a/sys/arch/atari/dev/viewvar.h      Mon Jun 17 18:46:28 2002 +0000
+++ b/sys/arch/atari/dev/viewvar.h      Mon Jun 17 18:48:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viewvar.h,v 1.4 1996/10/16 12:57:12 leo Exp $  */
+/*     $NetBSD: viewvar.h,v 1.4.42.1 2002/06/17 18:48:26 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -64,10 +64,7 @@
 view_t *viewview __P((dev_t));
 int    viewprobe __P((void));
 
-dev_type_close(viewclose);
 dev_type_ioctl(viewioctl);
 dev_type_open(viewopen);
-dev_type_mmap(viewmmap);
-dev_type_poll(viewpoll);
 
 #endif /* _KERNEL */



Home | Main Index | Thread Index | Old Index