summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/portinfo.c4
-rw-r--r--libshouldbeinlibc/xportinfo.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/libshouldbeinlibc/portinfo.c b/libshouldbeinlibc/portinfo.c
index c4a3e4b6..cb4e9605 100644
--- a/libshouldbeinlibc/portinfo.c
+++ b/libshouldbeinlibc/portinfo.c
@@ -132,8 +132,8 @@ print_port_info (mach_port_t name, mach_port_type_t type, task_t task,
/* Prints info about every port in TASK that has a type in ONLY to STREAM. */
error_t
-print_task_print_task_ports_info (task_t task, mach_port_type_t only,
- unsigned show, FILE *stream)
+print_task_ports_info (task_t task, mach_port_type_t only,
+ unsigned show, FILE *stream)
{
mach_port_t *names = 0;
mach_port_type_t *types = 0;
diff --git a/libshouldbeinlibc/xportinfo.c b/libshouldbeinlibc/xportinfo.c
index 0ad7da48..cdd1da38 100644
--- a/libshouldbeinlibc/xportinfo.c
+++ b/libshouldbeinlibc/xportinfo.c
@@ -42,8 +42,9 @@ print_xlated_port_info (mach_port_t name, mach_port_type_t type,
/* Prints info about every port common to both tasks in X, but only if the
port in X->from_task has a type in ONLY, to STREAM. */
error_t
-print_xlated_ports_info (struct port_name_xlator *x, mach_port_type_t only,
- unsigned show, FILE *stream)
+print_xlated_task_ports_info (struct port_name_xlator *x,
+ mach_port_type_t only,
+ unsigned show, FILE *stream)
{
mach_port_t *names = 0;
mach_port_type_t *types = 0;