summaryrefslogtreecommitdiff
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
parentafb43784ec70863c09ec927bb588355f2df4a3c5 (diff)
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.
-rw-r--r--libfshelp/ChangeLog6
-rw-r--r--libfshelp/Makefile3
-rw-r--r--libfshelp/fshelp.c2
-rw-r--r--libfshelp/fshelp.h6
4 files changed, 15 insertions, 2 deletions
diff --git a/libfshelp/ChangeLog b/libfshelp/ChangeLog
index 69a9b46b..6903bca8 100644
--- a/libfshelp/ChangeLog
+++ b/libfshelp/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
Sun Oct 13 21:46:18 1996 Miles Bader <miles@gnu.ai.mit.edu>
* lock-acquire.c (fshelp_acquire_lock): Return success, not EBADF,
diff --git a/libfshelp/Makefile b/libfshelp/Makefile
index 8015e1a8..c08b521d 100644
--- a/libfshelp/Makefile
+++ b/libfshelp/Makefile
@@ -26,7 +26,8 @@ SRCS = lock-acquire.c lock-init.c \
delegate.c \
exec-reauth.c \
set-options.c \
- return-buffer.c get-identity.c
+ return-buffer.c get-identity.c \
+ fshelp.c
LCLHDRS = fshelp.h locks.h trans.h
installhdrs = fshelp.h
diff --git a/libfshelp/fshelp.c b/libfshelp/fshelp.c
new file mode 100644
index 00000000..49477bd3
--- /dev/null
+++ b/libfshelp/fshelp.c
@@ -0,0 +1,2 @@
+#define FSHELP_EI
+#include "fshelp.h"
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);