From b0886bd7ecb4ed1976d8ceddb1aeff3f54110114 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 24 Oct 1996 19:25:39 +0000 Subject: Mon Oct 21 21:55:21 1996 Thomas Bushnell, n/BSG * fshelp.h: Add extern inline protection. * fshelp.c: New file. * Makefile (SRCS): Add fshelp.c. --- libfshelp/ChangeLog | 6 ++++++ libfshelp/Makefile | 3 ++- libfshelp/fshelp.c | 2 ++ libfshelp/fshelp.h | 6 +++++- 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 libfshelp/fshelp.c (limited to 'libfshelp') 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 + + * fshelp.h: Add extern inline protection. + * fshelp.c: New file. + * Makefile (SRCS): Add fshelp.c. + Sun Oct 13 21:46:18 1996 Miles Bader * 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 #include +#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); -- cgit v1.2.3