Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT.

Approved by Matthias Drochner <drochner@netbsd.org>.
This commit is contained in:
hannken 2002-04-07 09:25:47 +00:00
parent e9e3eb14ae
commit ad4a51c35b
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsconsio.h,v 1.49 2002/02/24 02:01:40 ad Exp $ */
/* $NetBSD: wsconsio.h,v 1.50 2002/04/07 09:25:47 hannken Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -352,7 +352,7 @@ struct wsdisplay_delscreendata {
struct wsdisplay_usefontdata {
char *name;
};
#define WSDISPLAYIO_USEFONT _IOW('W', 80, struct wsdisplay_usefontdata)
#define WSDISPLAYIO_SFONT _IOW('W', 80, struct wsdisplay_usefontdata)
/* Obsolete, replaced by WSMUXIO_{ADD,REMOVE}_DEVICE */
struct wsdisplay_kbddata {

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsdisplay.c,v 1.62 2002/03/17 19:41:05 atatat Exp $ */
/* $NetBSD: wsdisplay.c,v 1.63 2002/04/07 09:25:47 hannken Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.62 2002/03/17 19:41:05 atatat Exp $");
__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.63 2002/04/07 09:25:47 hannken Exp $");
#include "opt_wsdisplay_compat.h"
#include "opt_compat_netbsd.h"
@ -965,7 +965,7 @@ wsdisplay_internal_ioctl(struct wsdisplay_softc *sc, struct wsscreen *scr,
return (0);
#undef d
case WSDISPLAYIO_USEFONT:
case WSDISPLAYIO_SFONT:
#define d ((struct wsdisplay_usefontdata *)data)
if (!sc->sc_accessops->load_font)
return (EINVAL);