aboutsummaryrefslogtreecommitdiff
path: root/libfshelp/fshelp.h
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-24 19:25:39 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-24 19:25:39 +0000
commitb0886bd7ecb4ed1976d8ceddb1aeff3f54110114 (patch)
treece0ee98c2f5c2a0bd2e9a6530be4fa4fbd7c03a8 /libfshelp/fshelp.h
parentafb43784ec70863c09ec927bb588355f2df4a3c5 (diff)
downloadhurd-b0886bd7ecb4ed1976d8ceddb1aeff3f54110114.tar.gz
hurd-b0886bd7ecb4ed1976d8ceddb1aeff3f54110114.tar.bz2
hurd-b0886bd7ecb4ed1976d8ceddb1aeff3f54110114.zip
Mon Oct 21 21:55:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* fshelp.h: Add extern inline protection. * fshelp.c: New file. * Makefile (SRCS): Add fshelp.c.
Diffstat (limited to 'libfshelp/fshelp.h')
-rw-r--r--libfshelp/fshelp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 9461ae50..dced0610 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -28,6 +28,10 @@
#include <hurd/hurd_types.h>
#include <cthreads.h>
+#ifndef FSHELP_EI
+#define FSHELP_EI extern inline
+#endif
+
/* Passive translator linkage */
/* These routines are self-contained and start passive translators,
@@ -136,7 +140,7 @@ fshelp_transbox_init (struct transbox *transbox,
void *cookie);
/* Return true iff there is an active translator on this box */
-extern inline int
+FSHELP_EI int
fshelp_translated (struct transbox *box)
{
return (box->active != MACH_PORT_NULL);