Module Name: src
Committed By: cegger
Date: Tue May 12 12:18:09 UTC 2009
Modified Files:
src/sys/dev/ir: cir.c irframe_tty.c
Log Message:
struct cfdata * -> cfdata_t, no functional changes intended.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ir/cir.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ir/irframe_tty.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/ir/cir.c
diff -u src/sys/dev/ir/cir.c:1.23 src/sys/dev/ir/cir.c:1.24
--- src/sys/dev/ir/cir.c:1.23 Fri Oct 10 21:50:09 2008
+++ src/sys/dev/ir/cir.c Tue May 12 12:18:09 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: cir.c,v 1.23 2008/10/10 21:50:09 jmcneill Exp $ */
+/* $NetBSD: cir.c,v 1.24 2009/05/12 12:18:09 cegger Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cir.c,v 1.23 2008/10/10 21:50:09 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cir.c,v 1.24 2009/05/12 12:18:09 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -59,7 +59,7 @@
D_OTHER
};
-int cir_match(struct device *parent, struct cfdata *match, void *aux);
+int cir_match(struct device *parent, cfdata_t match, void *aux);
void cir_attach(struct device *parent, struct device *self, void *aux);
int cir_activate(struct device *self, enum devact act);
int cir_detach(struct device *self, int flags);
@@ -72,7 +72,7 @@
#define CIRUNIT(dev) (minor(dev))
int
-cir_match(struct device *parent, struct cfdata *match, void *aux)
+cir_match(struct device *parent, cfdata_t match, void *aux)
{
struct ir_attach_args *ia = aux;
Index: src/sys/dev/ir/irframe_tty.c
diff -u src/sys/dev/ir/irframe_tty.c:1.56 src/sys/dev/ir/irframe_tty.c:1.57
--- src/sys/dev/ir/irframe_tty.c:1.56 Sun Jan 11 14:28:13 2009
+++ src/sys/dev/ir/irframe_tty.c Tue May 12 12:18:09 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: irframe_tty.c,v 1.56 2009/01/11 14:28:13 mlelstv Exp $ */
+/* $NetBSD: irframe_tty.c,v 1.57 2009/05/12 12:18:09 cegger Exp $ */
/*
* TODO
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.56 2009/01/11 14:28:13 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.57 2009/05/12 12:18:09 cegger Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -269,7 +269,7 @@
struct lwp *l = curlwp; /* XXX */
struct irframet_softc *sc;
int error, s;
- struct cfdata *cfdata;
+ cfdata_t cfdata;
struct ir_attach_args ia;
device_t d;