1999-06-25 Roland McGrath <roland@baalperazim.frob.com>

* hurd/hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
	hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
	_EXTERN_INLINE, use a macro specific to each file,
	_HURD_FD_H_EXTERN_INLINE and the like.
	* hurd/Makefile (inline-headers): New variable.
	(routines): Remove hurdinline.  Add $(inlines).
	(inlines): New variable.
	($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
	(generated): Append those here.
	* hurd/hurdinline.c: File removed.
This commit is contained in:
Roland McGrath 1999-07-11 17:02:11 +00:00
parent d97e5d3cd0
commit ba39129c14

View File

@ -43,7 +43,11 @@
#include <errno.h>
_EXTERN_INLINE int
#ifndef _HURD_H_EXTERN_INLINE
#define _HURD_H_EXTERN_INLINE extern __inline
#endif
_HURD_H_EXTERN_INLINE int
__hurd_fail (error_t err)
{
switch (err)