diff options
Diffstat (limited to 'hurd/hurd/port.h')
-rw-r--r-- | hurd/hurd/port.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/hurd/hurd/port.h b/hurd/hurd/port.h index f1da86951d..eec85ccc29 100644 --- a/hurd/hurd/port.h +++ b/hurd/hurd/port.h @@ -63,7 +63,7 @@ struct hurd_port extern void _hurd_port_init (struct hurd_port *port, mach_port_t init); #if defined __USE_EXTERN_INLINES && defined _LIBC -# if IS_IN (libc) +# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE void _hurd_port_init (struct hurd_port *port, mach_port_t init) { @@ -71,7 +71,7 @@ _hurd_port_init (struct hurd_port *port, mach_port_t init) port->users = NULL; port->port = init; } -# endif +# endif #endif @@ -86,7 +86,7 @@ _hurd_port_locked_get (struct hurd_port *port, struct hurd_userlink *link); #if defined __USE_EXTERN_INLINES && defined _LIBC -# if IS_IN (libc) +# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE mach_port_t _hurd_port_locked_get (struct hurd_port *port, struct hurd_userlink *link) @@ -102,7 +102,7 @@ _hurd_port_locked_get (struct hurd_port *port, __spin_unlock (&port->lock); return result; } -# endif +# endif #endif /* Same, but locks PORT first. */ @@ -112,7 +112,7 @@ _hurd_port_get (struct hurd_port *port, struct hurd_userlink *link); #if defined __USE_EXTERN_INLINES && defined _LIBC -# if IS_IN (libc) +# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE mach_port_t _hurd_port_get (struct hurd_port *port, struct hurd_userlink *link) @@ -124,7 +124,7 @@ _hurd_port_get (struct hurd_port *port, HURD_CRITICAL_END; return result; } -# endif +# endif #endif @@ -136,7 +136,7 @@ _hurd_port_free (struct hurd_port *port, mach_port_t used_port); #if defined __USE_EXTERN_INLINES && defined _LIBC -# if IS_IN (libc) +# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE void _hurd_port_free (struct hurd_port *port, struct hurd_userlink *link, @@ -156,7 +156,7 @@ _hurd_port_free (struct hurd_port *port, if (dealloc) __mach_port_deallocate (__mach_task_self (), used_port); } -# endif +# endif #endif @@ -166,7 +166,7 @@ _hurd_port_free (struct hurd_port *port, extern void _hurd_port_locked_set (struct hurd_port *port, mach_port_t newport); #if defined __USE_EXTERN_INLINES && defined _LIBC -# if IS_IN (libc) +# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE void _hurd_port_locked_set (struct hurd_port *port, mach_port_t newport) { @@ -177,7 +177,7 @@ _hurd_port_locked_set (struct hurd_port *port, mach_port_t newport) if (old != MACH_PORT_NULL) __mach_port_deallocate (__mach_task_self (), old); } -# endif +# endif #endif /* Same, but locks PORT first. */ @@ -185,7 +185,7 @@ _hurd_port_locked_set (struct hurd_port *port, mach_port_t newport) extern void _hurd_port_set (struct hurd_port *port, mach_port_t newport); #if defined __USE_EXTERN_INLINES && defined _LIBC -# if IS_IN (libc) +# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE void _hurd_port_set (struct hurd_port *port, mach_port_t newport) { @@ -194,7 +194,7 @@ _hurd_port_set (struct hurd_port *port, mach_port_t newport) _hurd_port_locked_set (port, newport); HURD_CRITICAL_END; } -# endif +# endif #endif |