From 868a820a19ff66c370cf40573ac89738386513c3 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 16 May 2014 10:13:02 +0200 Subject: proc: move translation functions to mig-decls.h * proc/hash.c (reqport_find): Move this function... * proc/proc.h (process_drop): ... and this... * proc/mig-decls.h: ... here and rename them. * proc/mig-mutate.h: Update accordingly. --- proc/proc.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'proc/proc.h') diff --git a/proc/proc.h b/proc/proc.h index 12f56da1..a2e3c537 100644 --- a/proc/proc.h +++ b/proc/proc.h @@ -145,13 +145,6 @@ mach_port_t generic_port; /* messages not related to a specific proc */ pthread_mutex_t global_lock; -static inline void __attribute__ ((unused)) -process_drop (struct proc *p) -{ - if (p) - ports_port_deref (p); -} - /* Forward declarations */ void complete_wait (struct proc *, int); int check_uid (struct proc *, uid_t); -- cgit v1.2.3