> Date: Wed, 15 Nov 2017 11:49:06 +0100
> From: Anton Lindqvist <an...@openbsd.org>
> 
> On Tue, Oct 31, 2017 at 12:24:20PM +0100, Anton Lindqvist wrote:
> > Hi,
> > Use the actual ioctl request macros instead of relying on compatibility
> > indirection.
> > 
> > Looks like wsconscfg(8) is the last consumer of the compat macros
> > defined in dev/wscons/wsconsio.h. Assuming there's no usage in ports,
> > now might be the time to zap them?
> 
> sthen@ helped me grep for the compat macros in ports and found nothing.
> OK to remove?

ok kettenis@

> Index: wsconsio.h
> ===================================================================
> RCS file: /cvs/src/sys/dev/wscons/wsconsio.h,v
> retrieving revision 1.86
> diff -u -p -r1.86 wsconsio.h
> --- wsconsio.h        24 Oct 2017 09:36:13 -0000      1.86
> +++ wsconsio.h        15 Nov 2017 10:47:35 -0000
> @@ -612,7 +612,6 @@ struct wsdisplay_emultype {
>   */
>  
>  #define WSMUXIO_INJECTEVENT  _IOW('W', 96, struct wscons_event)
> -#define      WSMUX_INJECTEVENT       WSMUXIO_INJECTEVENT     /* XXX compat */
>  
>  struct wsmux_device {
>       int type;
> @@ -622,9 +621,7 @@ struct wsmux_device {
>       int idx;
>  };
>  #define WSMUXIO_ADD_DEVICE   _IOW('W', 97, struct wsmux_device)
> -#define      WSMUX_ADD_DEVICE        WSMUXIO_ADD_DEVICE      /* XXX compat */
>  #define WSMUXIO_REMOVE_DEVICE        _IOW('W', 98, struct wsmux_device)
> -#define      WSMUX_REMOVE_DEVICE     WSMUXIO_REMOVE_DEVICE   /* XXX compat */
>  
>  #define WSMUX_MAXDEV 32
>  struct wsmux_device_list {
> @@ -632,6 +629,5 @@ struct wsmux_device_list {
>       struct wsmux_device devices[WSMUX_MAXDEV];
>  };
>  #define WSMUXIO_LIST_DEVICES _IOWR('W', 99, struct wsmux_device_list)
> -#define      WSMUX_LIST_DEVICES      WSMUXIO_LIST_DEVICES    /* XXX compat */
>  
>  #endif /* _DEV_WSCONS_WSCONSIO_H_ */
> 
> 

Reply via email to