Applied, thanks! Flavio Cruz, le ven. 05 mai 2023 01:21:48 -0400, a ecrit: > File is unused. > --- > Makefrag.am | 1 - > include/mach/rpc.h | 34 ---------------------------------- > ipc/ipc_port.h | 1 - > ipc/ipc_target.h | 1 - > ipc/mach_port.c | 1 - > 5 files changed, 38 deletions(-) > delete mode 100644 include/mach/rpc.h > > diff --git a/Makefrag.am b/Makefrag.am > index 50389ad7..5b61a1d6 100644 > --- a/Makefrag.am > +++ b/Makefrag.am > @@ -403,7 +403,6 @@ include_mach_HEADERS = \ > include/mach/processor_info.h \ > include/mach/profil.h \ > include/mach/profilparam.h \ > - include/mach/rpc.h \ > include/mach/std_types.h \ > include/mach/syscall_sw.h \ > include/mach/task_info.h \ > diff --git a/include/mach/rpc.h b/include/mach/rpc.h > deleted file mode 100644 > index 36eb5921..00000000 > --- a/include/mach/rpc.h > +++ /dev/null > @@ -1,34 +0,0 @@ > -/* > - * Copyright (c) 1993,1994 The University of Utah and > - * the Computer Systems Laboratory (CSL). All rights reserved. > - * > - * Permission to use, copy, modify and distribute this software and its > - * documentation is hereby granted, provided that both the copyright > - * notice and this permission notice appear in all copies of the > - * software, derivative works or modified versions, and any portions > - * thereof, and that both notices appear in supporting documentation. > - * > - * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS > - * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF > - * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS > SOFTWARE. > - * > - * CSL requests users of this software to return to csl-d...@cs.utah.edu any > - * improvements that they make and grant CSL redistribution rights. > - */ > - > -#ifndef MACH_RPC_H > -#define MACH_RPC_H > - > -#include <mach/kern_return.h> > -#include <mach/message.h> > - > -/* > - * Description of a port passed up by the leaky-register RPC path > - * when it needs to perform translation. > - */ > -struct rpc_port_desc { > - mach_port_t name; > - mach_msg_type_name_t msgt_name; > -}; > - > -#endif /* MACH_RPC_H */ > diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h > index 022921f7..192d8806 100644 > --- a/ipc/ipc_port.h > +++ b/ipc/ipc_port.h > @@ -50,7 +50,6 @@ > #include <ipc/ipc_thread.h> > #include <ipc/ipc_object.h> > #include "ipc_target.h" > -#include <mach/rpc.h> > > /* > * A receive right (port) can be in four states: > diff --git a/ipc/ipc_target.h b/ipc/ipc_target.h > index 86a0e44b..c2cc9241 100644 > --- a/ipc/ipc_target.h > +++ b/ipc/ipc_target.h > @@ -27,7 +27,6 @@ > > #include "ipc_mqueue.h" > #include "ipc_object.h" > -#include <mach/rpc.h> > > typedef struct ipc_target { > > diff --git a/ipc/mach_port.c b/ipc/mach_port.c > index b35d8bcf..db6dae61 100644 > --- a/ipc/mach_port.c > +++ b/ipc/mach_port.c > @@ -45,7 +45,6 @@ > #include <mach/vm_param.h> > #include <mach/vm_prot.h> > #ifdef MIGRATING_THREADS > -#include <mach/rpc.h> > #include <kern/task.h> > #include <kern/act.h> > #endif /* MIGRATING_THREADS */ > -- > 2.39.2 > >
-- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.