[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: oskit-mach/oskit/ds_asynchio.c

From: Michael Teichgraeber
Subject: patch: oskit-mach/oskit/ds_asynchio.c
Date: 03 Mar 2002 23:47:05 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Oskit-mach/oskit/ds_asynchio.c lacked definitions of
ds_device_.*error_reply and ds_device_.*reply_inband functions. This
can be fixed by including mig-generated headers device_reply.h and
device_error_reply.h. But, both of them had the same `#ifndef
_device_reply_user_' phrase at the beginning, so that only one of them
could be included.

The mig definition files of them declared the same subsystem; by
changing the subsystem of device_error_reply.defs to
device_error_reply it works, and I don't see any side effects, since
besides the first and last lines of generated headers nothing changes.


2002-03-03  Michael Teichgraeber  <gnubert@web.de>

        * include/device/device_error_reply.defs: Changed subsystem name
        to device_error_reply.

        * oskit/ds_asyncio.c: Include <device_reply.h>,

Index: include/device/device_error_reply.defs
RCS file: /cvsroot/hurd/gnumach/include/device/Attic/device_error_reply.defs,v
retrieving revision
diff -u -p -r1.1.2.1 device_error_reply.defs
--- include/device/device_error_reply.defs      25 Nov 1999 23:16:45 -0000
+++ include/device/device_error_reply.defs      3 Mar 2002 21:00:55 -0000
@@ -8,7 +8,7 @@ subsystem
-                    device_reply 2900;
+                    device_error_reply 2900;
                                /* to match reply numbers for device.defs */
 #include <mach/std_types.defs>
Index: oskit/ds_asyncio.c
RCS file: /cvsroot/hurd/gnumach/oskit/Attic/ds_asyncio.c,v
retrieving revision
diff -u -p -r1.1.2.2 ds_asyncio.c
--- oskit/ds_asyncio.c  28 Feb 2002 11:58:31 -0000
+++ oskit/ds_asyncio.c  3 Mar 2002 21:00:56 -0000
@@ -6,6 +6,9 @@
 #include <machine/spl.h>
 #include <mach/mig_errors.h>
+#include <device_reply.h>
+#include <device_error_reply.h>
 #include "ds_oskit.h"
 #include "ds_request.h"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]