summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/maptime.h
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-24 19:28:16 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-24 19:28:16 +0000
commit592615ea7df69c2728362bd4238730d050c07312 (patch)
tree1c064c8fd5c45ec621799def8cbcf6d1f11cdafb /libshouldbeinlibc/maptime.h
parent46b6fea942cd4840f5510cd06629e8c91fb55c11 (diff)
Mon Oct 21 22:00:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* argp.h: Add extern inline protection. * idvec.h: Likewise. * maptime.h: Likewise. * argp.c, idvec-funcs.c, maptime-funcs.c: New files. * Makefile (SRCS): Add argp.c, idvec-funcs.c, and maptime-funcs.c.
Diffstat (limited to 'libshouldbeinlibc/maptime.h')
-rw-r--r--libshouldbeinlibc/maptime.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libshouldbeinlibc/maptime.h b/libshouldbeinlibc/maptime.h
index 244cbcf1..948d4de1 100644
--- a/libshouldbeinlibc/maptime.h
+++ b/libshouldbeinlibc/maptime.h
@@ -21,6 +21,10 @@
#ifndef __MAPTIME_H__
#define __MAPTIME_H__
+#ifndef MAPTIME_EI
+#define MAPTIME_EI extern inline
+#endif
+
#include <mach/time_value.h>
/* Return the mach mapped time page in MTIME. If USE_MACH_DEV is false, then
@@ -32,7 +36,7 @@ error_t maptime_map (int use_mach_dev, char *dev_name,
volatile struct mapped_time_value **mtime);
/* Read the current time from MTIME into TV. This should be very fast. */
-static inline void
+MAPTIME_EI void
maptime_read (volatile struct mapped_time_value *mtime, struct timeval *tv)
{
do