Error("Failed to activate bell");
hpcError("Failed to activate bell");
hpcBell(percent, device, ctrl, unused)    int		    percent;	    /* Percentage of full volume */    DeviceIntPtr    device;	    /* Keyboard to ring */    pointer	    ctrl;    int		    unused;{#if 0    KeybdCtrl*      kctrl = (KeybdCtrl*) ctrl;    hpcKbdPrivPtr   pPriv = (hpcKbdPrivPtr) device->public.devicePrivate;    struct wsconsio_bell_data wbd;    if (percent == 0 || kctrl->bell == 0) 	return;    wbd.wbd_flags = WSCONSIO_BELLDATA_VOLUME | WSCONSIO_BELLDATA_PITCH |	WSCONSIO_BELLDATA_PERIOD;    wbd.wbd_volume = percent;    wbd.wbd_pitch = kctrl->bell_pitch;    wbd.wbd_period = kctrl->bell_duration;    if (ioctl (pPriv->fd, WSCONSIO_COMPLEXBELL, &wbd) == -1) { 	Error("Failed to activate bell");	return;    }#endif}