require '_h2ph_pre.ph';

no warnings 'redefine';

if((defined(&NWSDISPLAY) ? &NWSDISPLAY : 0) > 0) {
    eval 'sub sc_displaydv () { ($sc_base->{me_dispdv});}' unless defined(&sc_displaydv);
}
if((defined(&NWSMUX) ? &NWSMUX : 0) > 0) {
}
unless(defined(&wsevsrc_open)) {
    sub wsevsrc_open {
	my($me, $evp) = @_;
	eval q((($me)-> ($me_ops->{dopen})(($me), $evp)));
    }
}
unless(defined(&wsevsrc_close)) {
    sub wsevsrc_close {
	my($me) = @_;
	eval q((($me)-> ($me_ops->{dclose})(($me))));
    }
}
unless(defined(&wsevsrc_ioctl)) {
    sub wsevsrc_ioctl {
	my($me, $cmd, $data, $flag, $p) = @_;
	eval q((-> ($me_ops->{dioctl})(&-> &me_dv, $cmd, $data, $flag, $p)));
    }
}
unless(defined(&wsevsrc_display_ioctl)) {
    sub wsevsrc_display_ioctl {
	my($me, $cmd, $data, $flag, $p) = @_;
	eval q((-> ($me_ops->{ddispioctl})(&-> &me_dv, $cmd, $data, $flag, $p)));
    }
}
unless(defined(&wsevsrc_set_display)) {
    sub wsevsrc_set_display {
	my($me, $arg) = @_;
	eval q((($me)-> ($me_ops->{dsetdisplay})(($me)-> &me_dv, $arg)));
    }
}
if((defined(&NWSMUX) ? &NWSMUX : 0) > 0) {
    if(defined(&WSDISPLAY_COMPAT_RAWKBD)) {
    }
    eval 'sub WSMOUSEDEVCF_MUX () {0;}' unless defined(&WSMOUSEDEVCF_MUX);
}
1;
