fix incomplete struct decl.

This commit is contained in:
christos 2006-08-28 21:37:37 +00:00
parent a0917ad69e
commit f7747a2a56
2 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsemul_dumb.c,v 1.11 2005/12/11 12:24:12 christos Exp $ */ /* $NetBSD: wsemul_dumb.c,v 1.12 2006/08/28 21:37:37 christos Exp $ */
/* /*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -31,7 +31,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wsemul_dumb.c,v 1.11 2005/12/11 12:24:12 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: wsemul_dumb.c,v 1.12 2006/08/28 21:37:37 christos Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -60,7 +60,9 @@ const struct wsemul_ops wsemul_dumb_ops = {
wsemul_dumb_output, wsemul_dumb_output,
wsemul_dumb_translate, wsemul_dumb_translate,
wsemul_dumb_detach, wsemul_dumb_detach,
wsemul_dumb_resetop wsemul_dumb_resetop,
NULL, /* getmsgattrs */
NULL, /* setmsgattrs */
}; };
struct wsemul_dumb_emuldata { struct wsemul_dumb_emuldata {

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsemul_sun.c,v 1.23 2005/12/11 12:24:12 christos Exp $ */ /* $NetBSD: wsemul_sun.c,v 1.24 2006/08/28 21:37:37 christos Exp $ */
/* /*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -33,7 +33,7 @@
/* XXX DESCRIPTION/SOURCE OF INFORMATION */ /* XXX DESCRIPTION/SOURCE OF INFORMATION */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wsemul_sun.c,v 1.23 2005/12/11 12:24:12 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: wsemul_sun.c,v 1.24 2006/08/28 21:37:37 christos Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -64,7 +64,9 @@ const struct wsemul_ops wsemul_sun_ops = {
wsemul_sun_output, wsemul_sun_output,
wsemul_sun_translate, wsemul_sun_translate,
wsemul_sun_detach, wsemul_sun_detach,
wsemul_sun_resetop wsemul_sun_resetop,
NULL, /* getmsgattrs */
NULL, /* setmsgattrs */
}; };
#define SUN_EMUL_STATE_NORMAL 0 /* normal processing */ #define SUN_EMUL_STATE_NORMAL 0 /* normal processing */