diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_entry.c | 3 | ||||
-rw-r--r-- | ipc/ipc_hash.c | 1 | ||||
-rw-r--r-- | ipc/ipc_kmsg.c | 1 | ||||
-rw-r--r-- | ipc/ipc_notify.c | 1 | ||||
-rw-r--r-- | ipc/ipc_object.c | 1 | ||||
-rw-r--r-- | ipc/ipc_port.c | 3 | ||||
-rw-r--r-- | ipc/ipc_pset.c | 3 | ||||
-rw-r--r-- | ipc/mach_msg.c | 1 | ||||
-rw-r--r-- | ipc/mach_port.c | 1 | ||||
-rw-r--r-- | ipc/mach_rpc.c | 1 |
10 files changed, 11 insertions, 5 deletions
diff --git a/ipc/ipc_entry.c b/ipc/ipc_entry.c index 85404b6..705638d 100644 --- a/ipc/ipc_entry.c +++ b/ipc/ipc_entry.c @@ -25,7 +25,7 @@ * * any improvements or extensions that they make and grant Carnegie Mellon * the rights to redistribute these changes. - * + */ /* * File: ipc/ipc_entry.c * Author: Rich Draves @@ -34,6 +34,7 @@ * Primitive functions to manipulate translation entries. */ +#include <printf.h> #include <string.h> #include <mach/kern_return.h> diff --git a/ipc/ipc_hash.c b/ipc/ipc_hash.c index 1c5bfa9..4f21073 100644 --- a/ipc/ipc_hash.c +++ b/ipc/ipc_hash.c @@ -31,6 +31,7 @@ * Entry hash table operations. */ +#include <printf.h> #include <mach/boolean.h> #include <mach/port.h> #include <kern/lock.h> diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c index 100cc93..1c9ef87 100644 --- a/ipc/ipc_kmsg.c +++ b/ipc/ipc_kmsg.c @@ -34,6 +34,7 @@ * Operations on kernel messages. */ +#include <printf.h> #include <string.h> #include <mach/boolean.h> diff --git a/ipc/ipc_notify.c b/ipc/ipc_notify.c index c90796f..30cfac4 100644 --- a/ipc/ipc_notify.c +++ b/ipc/ipc_notify.c @@ -31,6 +31,7 @@ * Notification-sending functions. */ +#include <printf.h> #include <mach/port.h> #include <mach/message.h> #include <mach/notify.h> diff --git a/ipc/ipc_object.c b/ipc/ipc_object.c index 713a581..53f7793 100644 --- a/ipc/ipc_object.c +++ b/ipc/ipc_object.c @@ -31,6 +31,7 @@ * Functions to manipulate IPC objects. */ +#include <printf.h> #include <string.h> #include <mach/boolean.h> diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c index a23375c..fa8ed3a 100644 --- a/ipc/ipc_port.c +++ b/ipc/ipc_port.c @@ -34,6 +34,7 @@ * Functions to manipulate IPC ports. */ +#include <printf.h> #include <string.h> #include <mach/port.h> @@ -1448,8 +1449,6 @@ void ipc_port_print(port) ipc_port_t port; { - extern int indent; - printf("port 0x%x\n", port); indent += 2; diff --git a/ipc/ipc_pset.c b/ipc/ipc_pset.c index b535e3f..049c66d 100644 --- a/ipc/ipc_pset.c +++ b/ipc/ipc_pset.c @@ -36,6 +36,7 @@ * Functions to manipulate IPC port sets. */ +#include <printf.h> #include <mach/port.h> #include <mach/kern_return.h> #include <mach/message.h> @@ -330,8 +331,6 @@ void ipc_pset_print( ipc_pset_t pset) { - extern int indent; - printf("pset 0x%x\n", pset); indent += 2; diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c index cdb406e..a02462d 100644 --- a/ipc/mach_msg.c +++ b/ipc/mach_msg.c @@ -36,6 +36,7 @@ * Exported message traps. See mach/message.h. */ +#include <printf.h> #include <mach/kern_return.h> #include <mach/port.h> #include <mach/message.h> diff --git a/ipc/mach_port.c b/ipc/mach_port.c index 0ddad53..b78ab25 100644 --- a/ipc/mach_port.c +++ b/ipc/mach_port.c @@ -36,6 +36,7 @@ * Exported kernel calls. See mach/mach_port.defs. */ +#include <printf.h> #include <mach/port.h> #include <mach/kern_return.h> #include <mach/notify.h> diff --git a/ipc/mach_rpc.c b/ipc/mach_rpc.c index 0ceeeb4..dae097a 100644 --- a/ipc/mach_rpc.c +++ b/ipc/mach_rpc.c @@ -21,6 +21,7 @@ #ifdef MIGRATING_THREADS +#include <printf.h> #include <mach/kern_return.h> #include <mach/port.h> #include <mach/rpc.h> |