From 026f55873b827a14db61e6c2c246c454bb3b7b9f Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 1 Sep 2011 20:24:56 +0200 Subject: Use Mach native error codes instead of POSIX errno E* ones * device/errno.h: Remove file. * Makefrag.am (libkernel_a_SOURCES): Remove `device/errno.h'. * i386/i386at/com.c: Include instead of . (comopen): Replace ENXIO with D_NO_SUCH_DEVICE. * i386/i386at/kd_event.c: Include instead of . * i386/i386at/kd_mouse.c: Likewise. (mouseopen): Replace ENODEV with D_NO_SUCH_DEVICE and EBUSY with D_ALREADY_OPEN. * i386/i386at/lpr.c: Include instead of . (lpropen): Replace ENXIO with D_NO_SUCH_DEVICE and EBUSY with D_ALREADY_OPEN. --- Makefrag.am | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefrag.am') diff --git a/Makefrag.am b/Makefrag.am index 5e26aa7a..fc82b2c6 100644 --- a/Makefrag.am +++ b/Makefrag.am @@ -280,7 +280,6 @@ libkernel_a_SOURCES += \ device/device_types_kernel.h \ device/ds_routines.c \ device/ds_routines.h \ - device/errno.h \ device/if_ether.h \ device/if_hdr.h \ device/io_req.h \ -- cgit v1.2.3