require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_DKIO_H_)) {
    eval 'sub _SYS_DKIO_H_ () {1;}' unless defined(&_SYS_DKIO_H_);
    require 'sys/ioccom.ph';
    eval 'sub DIOCGDINFO () { &_IOR(ord(\'d\'), 101, \'struct disklabel\');}' unless defined(&DIOCGDINFO);
    eval 'sub DIOCSDINFO () { &_IOW(ord(\'d\'), 102, \'struct disklabel\');}' unless defined(&DIOCSDINFO);
    eval 'sub DIOCWDINFO () { &_IOW(ord(\'d\'), 103, \'struct disklabel\');}' unless defined(&DIOCWDINFO);
    eval 'sub DIOCGPART () { &_IOW(ord(\'d\'), 104, \'struct partinfo\');}' unless defined(&DIOCGPART);
    eval 'sub DIOCRFORMAT () { &_IOWR(ord(\'d\'), 105, \'struct format_op\');}' unless defined(&DIOCRFORMAT);
    eval 'sub DIOCWFORMAT () { &_IOWR(ord(\'d\'), 106, \'struct format_op\');}' unless defined(&DIOCWFORMAT);
    eval 'sub DIOCSSTEP () { &_IOW(ord(\'d\'), 107, \'int\');}' unless defined(&DIOCSSTEP);
    eval 'sub DIOCSRETRIES () { &_IOW(ord(\'d\'), 108, \'int\');}' unless defined(&DIOCSRETRIES);
    eval 'sub DIOCWLABEL () { &_IOW(ord(\'d\'), 109, \'int\');}' unless defined(&DIOCWLABEL);
    eval 'sub DIOCSBAD () { &_IOW(ord(\'d\'), 110, \'struct dkbad\');}' unless defined(&DIOCSBAD);
    eval 'sub DIOCEJECT () { &_IO(ord(\'d\'), 112);}' unless defined(&DIOCEJECT);
    eval 'sub DIOCLOCK () { &_IOW(ord(\'d\'), 113, \'int\');}' unless defined(&DIOCLOCK);
    eval 'sub DIOCGPDINFO () { &_IOR(ord(\'d\'), 114, \'struct disklabel\');}' unless defined(&DIOCGPDINFO);
    eval 'sub DIOCRLDINFO () { &_IO(ord(\'d\'), 115);}' unless defined(&DIOCRLDINFO);
}
1;
