On Tue, Jan 17, 2023 at 8:08 PM Samuel Thibault <samuel.thiba...@gnu.org>
wrote:

> Flavio Cruz, le mar. 17 janv. 2023 00:11:49 -0500, a ecrit:
> > +kern_return_t
> > +register_new_task_notification(
> > +     const host_t host,
> > +     ipc_port_t notification);
>
> Err, but aren't these declared in the generated gnumach.server.h?
>

Oops, I think you are right. Initially I thought that those headers were
generated for the
stubs since I got compiler failures when trying to use them. However it
seems that we
just need to align the types used in the definitions with the prototypes
(nice benefit of fixing these warnings).

Sent a patch in a separate email to revert the two other commits that I
submitted before.


> And similarly for function declarations added in
> 566c227636481b246d928772ebeaacbc7c37145b
>
> Create kern/mach4.h and kern/mach_host.h and define the RPC prototypes for
> mach4.defs and mach_host.defs.
>
> Samuel
>

Reply via email to