aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-05-05 01:21:48 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-06 21:39:03 +0200
commitba90ce5852019616d54df1dccd14a3da2746bd30 (patch)
tree343f94f91e0590a3e4a5a6246eff6c0851b5fe60
parent7b392afb14358649173437fe435859ce7887cba6 (diff)
downloadgnumach-ba90ce5852019616d54df1dccd14a3da2746bd30.tar.gz
gnumach-ba90ce5852019616d54df1dccd14a3da2746bd30.tar.bz2
gnumach-ba90ce5852019616d54df1dccd14a3da2746bd30.zip
Delete include/mach/rpc.h
File is unused. Message-Id: <ZFSSbAzZ+7KYKtOF@jupiter.tail36e24.ts.net>
-rw-r--r--Makefrag.am1
-rw-r--r--include/mach/rpc.h34
-rw-r--r--ipc/ipc_port.h1
-rw-r--r--ipc/ipc_target.h1
-rw-r--r--ipc/mach_port.c1
5 files changed, 0 insertions, 38 deletions
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-dist@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 */